Enable RPC retries #139
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (0)
Filtered Findings (1)
primitives/src/trie/mpt.rs|703 col 28| error: use of format!
to build up a string from an iterator
--> primitives/src/trie/mpt.rs:703:28
|
703 | let nibs: String = self.nibs().iter().map(|n| format!("{:x}", n)).collect();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: call fold
instead
--> primitives/src/trie/mpt.rs:703:47
|
703 | let nibs: String = self.nibs().iter().map(|n| format!("{:x}", n)).collect();
| ^^^
help: ... and use the write!
macro here
--> primitives/src/trie/mpt.rs:703:55
|
703 | let nibs: String = self.nibs().iter().map(|n| format!("{:x}", n)).collect();
| ^^^^^^^^^^^^^^^^^^
= note: this can be written more efficiently by appending to a String
directly
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_collect
= note: -D clippy::format-collect
implied by -D warnings