Just an test #153
Annotations
3 warnings
`to_string()` called on a `&str`:
src/commit_message/mod.rs#L25
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
| ^^^^^^^^^^^^^^^^^^^^^
|
linux
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
`to_string()` called on a `&str`:
src/commit_message/mod.rs#L25
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
| ^^^^^^^^^^^^^^^^^^^^^
|