Stop using Instant for cache age #148
GitHub Actions / clippy
succeeded
Jan 13, 2024 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.75.0 (82e1608df 2023-12-21)
- cargo 1.75.0 (1d8b05cdd 2023-11-20)
- clippy 0.1.75 (82e1608 2023-12-21)
Annotations
Check warning on line 803 in src/lib.rs
github-actions / clippy
the borrowed expression implements the required traits
warning: the borrowed expression implements the required traits
--> src/lib.rs:803:57
|
803 | if let Ok(key_dir_iter) = std::fs::read_dir(&self.key_dir()) {
| ^^^^^^^^^^^^^^^ help: change this to: `self.key_dir()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
Check warning on line 785 in src/lib.rs
github-actions / clippy
the borrowed expression implements the required traits
warning: the borrowed expression implements the required traits
--> src/lib.rs:785:58
|
785 | if let Ok(data_dir_iter) = std::fs::read_dir(&self.data_dir()) {
| ^^^^^^^^^^^^^^^^ help: change this to: `self.data_dir()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
Check warning on line 803 in src/lib.rs
github-actions / clippy
the borrowed expression implements the required traits
warning: the borrowed expression implements the required traits
--> src/lib.rs:803:57
|
803 | if let Ok(key_dir_iter) = std::fs::read_dir(&self.key_dir()) {
| ^^^^^^^^^^^^^^^ help: change this to: `self.key_dir()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
Check warning on line 785 in src/lib.rs
github-actions / clippy
the borrowed expression implements the required traits
warning: the borrowed expression implements the required traits
--> src/lib.rs:785:58
|
785 | if let Ok(data_dir_iter) = std::fs::read_dir(&self.data_dir()) {
| ^^^^^^^^^^^^^^^^ help: change this to: `self.data_dir()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
Loading