Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mikepenz/release-changelog-builder-action action to v5 #135

Merged
merged 1 commit into from
Jul 26, 2024

Update mikepenz/release-changelog-builder-action action to v5

f1eb8c8
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Update mikepenz/release-changelog-builder-action action to v5 #135

Update mikepenz/release-changelog-builder-action action to v5
f1eb8c8
Select commit
Loading
Failed to load commit list.
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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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