Update mikepenz/release-changelog-builder-action action to v5 #692
GitHub Actions / clippy
succeeded
Jul 26, 2024 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.80.0 (051478957 2024-07-21)
- cargo 1.80.0 (376290515 2024-07-16)
- clippy 0.1.80 (0514789 2024-07-21)
Annotations
Check warning on line 152 in src/config.rs
github-actions / clippy
assigning the result of `ToOwned::to_owned()` may be inefficient
warning: assigning the result of `ToOwned::to_owned()` may be inefficient
--> src/config.rs:148:17
|
148 | / self.classes_path = cfg_path
149 | | .with_file_name(vstr)
150 | | .to_str()
151 | | .ok_or(anyhow!("Can't create nodes path from config file"))?
152 | | .to_owned();
| |_______________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
note: the lint level is defined here
--> src/lib.rs:2:9
|
2 | #![warn(clippy::pedantic)]
| ^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::assigning_clones)]` implied by `#[warn(clippy::pedantic)]`
help: use `clone_into()`
|
148 ~ cfg_path
149 + .with_file_name(vstr)
150 + .to_str()
151 ~ .ok_or(anyhow!("Can't create nodes path from config file"))?.clone_into(&mut self.classes_path);
|
Check warning on line 7 in src/list/mod.rs
github-actions / clippy
associated items `new` and `merge_from` are never used
warning: associated items `new` and `merge_from` are never used
--> src/list/mod.rs:7:8
|
6 | pub trait List {
| ---- associated items in this trait
7 | fn new() -> Self;
| ^^^
...
13 | fn merge_from(&mut self, other: &Self);
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
Loading