Skip to content

Some info about the debug flags (#223) #221

Some info about the debug flags (#223)

Some info about the debug flags (#223) #221

GitHub Actions / clippy succeeded Dec 19, 2023 in 1s

clippy

3 warnings

Details

Results

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

Versions

  • rustc 1.74.1 (a28077b28 2023-12-04)
  • cargo 1.74.1 (ecb9851af 2023-10-18)
  • clippy 0.1.74 (a28077b 2023-12-04)

Annotations

Check warning on line 503 in src/data_formats/symgen_yml/merge.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/data_formats/symgen_yml/merge.rs:503:18
    |
503 |                 .or_insert_with(HashMap::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 505 in src/data_formats/symgen_yml/merge.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/data_formats/symgen_yml/merge.rs:505:18
    |
505 |                 .or_insert_with(HashMap::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

Check warning on line 59 in src/checks.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

manual backwards iteration

warning: manual backwards iteration
  --> src/checks.rs:59:46
   |
59 |                 if let Some(c) = name.chars().rev().next() {
   |                                              ^^^^^^^^^^^^^ help: use: `.next_back()`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_next_back
   = note: `#[warn(clippy::manual_next_back)]` on by default