Skip to content

Fix hex output check for u256 series generation. (#57) #138

Fix hex output check for u256 series generation. (#57)

Fix hex output check for u256 series generation. (#57) #138

GitHub Actions / clippy succeeded Sep 5, 2023 in 0s

clippy

2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 2
Note 0
Help 0

Versions

  • rustc 1.74.0-nightly (ec08a0337 2023-09-04)
  • cargo 1.74.0-nightly (96fe1c9e1 2023-08-29)
  • clippy 0.1.74 (ec08a03 2023-09-04)

Annotations

Check warning on line 384 in crates/freeze/src/datasets/logs.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `or_insert` to construct default value

warning: use of `or_insert` to construct default value
   --> crates/freeze/src/datasets/logs.rs:384:64
    |
384 | ...                   let tokens = map.entry(param.name).or_insert(Vec::new());
    |                                                          ^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default

Check warning on line 275 in crates/freeze/src/datasets/logs.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `or_insert` to construct default value

warning: use of `or_insert` to construct default value
   --> crates/freeze/src/datasets/logs.rs:275:42
    |
275 |                 self.event_cols.entry(k).or_insert(Vec::new()).extend(v);
    |                                          ^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
    = note: `#[warn(clippy::unwrap_or_default)]` on by default