Bug fixes #740
GitHub Actions / clippy
succeeded
Aug 2, 2023 in 0s
clippy
3 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 3 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.71.0 (8ede3aae2 2023-07-12)
- cargo 1.71.0 (cfd3bbd8f 2023-06-08)
- clippy 0.1.71 (8ede3aa 2023-07-12)
Annotations
Check warning on line 1037 in theseus/src/api/profile/mod.rs
github-actions / clippy
single-character string constant used as pattern
warning: single-character string constant used as pattern
--> theseus/src/api/profile/mod.rs:1037:19
|
1037 | input.replace(r"/", "_")
| ^^^^ help: try using a `char` instead: `'/'`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
Check warning on line 1038 in theseus/src/api/profile/mod.rs
github-actions / clippy
single-character string constant used as pattern
warning: single-character string constant used as pattern
--> theseus/src/api/profile/mod.rs:1038:14
|
1038 | .replace(r"\", "_")
| ^^^^ help: try using a `char` instead: `'\\'`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
= note: `#[warn(clippy::single_char_pattern)]` on by default
Check warning on line 168 in theseus/src/state/projects.rs
github-actions / clippy
variable does not need to be mutable
warning: variable does not need to be mutable
--> theseus/src/state/projects.rs:168:13
|
168 | let mut dep = self;
| ----^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
Loading