Configure Renovate #15
GitHub Actions / clippy
succeeded
Dec 15, 2023 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.74.1 (a28077b28 2023-12-04)
- cargo 1.74.1 (ecb9851af 2023-10-18)
- clippy 0.1.74 (a28077b 2023-12-04)
Annotations
Check warning on line 78 in src/api/mod.rs
github-actions / clippy
the borrowed expression implements the required traits
warning: the borrowed expression implements the required traits
--> src/api/mod.rs:78:35
|
78 | let req = self.client.get(&url.into()).query(¶ms);
| ^^^^^^^^^^^ help: change this to: `url.into()`
|
= 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 16 in src/api/mod.rs
github-actions / clippy
fields `client_id` and `client_secret` are never read
warning: fields `client_id` and `client_secret` are never read
--> src/api/mod.rs:16:16
|
15 | pub(crate) struct YoutubeOAuth {
| ------------ fields in this struct
16 | pub(crate) client_id: String,
| ^^^^^^^^^
17 | pub(crate) client_secret: String,
| ^^^^^^^^^^^^^
|
= note: `YoutubeOAuth` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
Loading