Added LFO functions (#222) #220
GitHub Actions / clippy
succeeded
Dec 10, 2023 in 0s
clippy
3 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 3 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.74.0 (79e9716c9 2023-11-13)
- cargo 1.74.0 (ecb9851af 2023-10-18)
- clippy 0.1.74 (79e9716 2023-11-13)
Annotations
Check warning on line 503 in src/data_formats/symgen_yml/merge.rs
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
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
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
Loading