Upgrade dependencies #543
GitHub Actions / clippy
succeeded
Jul 7, 2023 in 0s
clippy
4 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 4 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.69.0 (84c898d65 2023-04-16)
- cargo 1.69.0 (6e9a83356 2023-04-12)
- clippy 0.1.69 (84c898d 2023-04-16)
Annotations
Check warning on line 6 in zerostash/src/config/symmetric_key.rs
github-actions / clippy
constant `SERVICE_NAME` is never used
warning: constant `SERVICE_NAME` is never used
--> zerostash/src/config/symmetric_key.rs:6:7
|
6 | const SERVICE_NAME: &str = "dev.symmetree.zerostash";
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
Check warning on line 77 in zerostash/src/config/symmetric_key.rs
github-actions / clippy
unused variable: `stash`
warning: unused variable: `stash`
--> zerostash/src/config/symmetric_key.rs:77:42
|
77 | pub fn interactive_credentials(self, stash: &str) -> Result<(SecretString, SecretString)> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_stash`
Check warning on line 49 in zerostash/src/config/symmetric_key.rs
github-actions / clippy
unused variable: `stash`
warning: unused variable: `stash`
--> zerostash/src/config/symmetric_key.rs:49:34
|
49 | pub fn fill_random(mut self, stash: &str) -> Result<Self> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_stash`
|
= note: `#[warn(unused_variables)]` on by default
Check warning on line 382 in zerostash-files/src/tree.rs
github-actions / clippy
this let-binding has unit value
warning: this let-binding has unit value
--> zerostash-files/src/tree.rs:375:13
|
375 | / _ = entries.upsert(
376 | | name.into(),
377 | | move || noderef,
378 | | |_, v| {
... |
381 | | },
382 | | );
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
= note: `#[warn(clippy::let_unit_value)]` on by default
help: omit the `let` binding
|
375 ~ entries.upsert(
376 + name.into(),
377 + move || noderef,
378 + |_, v| {
379 + noderef = *v;
380 + update = true;
381 + },
382 ~ );;
|
Loading