Just an test #153
GitHub Actions / clippy
succeeded
Aug 8, 2023 in 0s
clippy
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
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 25 in src/commit_message/mod.rs
github-actions / clippy
`to_string()` called on a `&str`
warning: `to_string()` called on a `&str`
--> src/commit_message/mod.rs:25:31
|
25 | if !skip_commit.contains(&"commit_footer".to_string()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider using `.to_owned()`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string
note: the lint level is defined here
--> src/main.rs:6:5
|
6 | clippy::str_to_string
| ^^^^^^^^^^^^^^^^^^^^^
Loading