Skip to content

Merge branch 'main' of github.com:paradigmxyz/cryo #6

Merge branch 'main' of github.com:paradigmxyz/cryo

Merge branch 'main' of github.com:paradigmxyz/cryo #6

Triggered via push July 3, 2023 00:37
Status Success
Total duration 7m 23s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
the borrowed expression implements the required traits: crates/cli/src/summaries.rs#L50
warning: the borrowed expression implements the required traits --> crates/cli/src/summaries.rs:50:9 | 50 | &opts.block_chunks.total_blocks().separate_with_commas(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `opts.block_chunks.total_blocks().separate_with_commas()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
called `map(..).flatten()` on `Iterator`: crates/freeze/src/chunks.rs#L44
warning: called `map(..).flatten()` on `Iterator` --> crates/freeze/src/chunks.rs:44:21 | 44 | self.iter().map(|chunk| chunk.numbers()).flatten().collect() | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try replacing `map` with `flat_map` and remove the `.flatten()`: `flat_map(|chunk| chunk.numbers())` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_flatten = note: `#[warn(clippy::map_flatten)]` on by default