Skip to content

Release v0.6.0

Release v0.6.0 #475

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

clippy

1 warning

Details

Results

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

Versions

  • rustc 1.74.0-nightly (e7c502d93 2023-09-27)
  • cargo 1.74.0-nightly (e6aabe8b3 2023-09-26)
  • clippy 0.1.74 (e7c502d 2023-09-27)

Annotations

Check warning on line 183 in src/engine.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `or_insert_with` to construct default value

warning: use of `or_insert_with` to construct default value
   --> src/engine.rs:183:38
    |
183 | ...                   .or_insert_with(BTreeMap::new)
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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