Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just an test #22

Closed
wants to merge 1 commit into from

Just an test

62aa499
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

Just an test #22

Just an test
62aa499
Select commit
Loading
Failed to load commit list.
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

See this annotation in the file changed.

@github-actions 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
   |     ^^^^^^^^^^^^^^^^^^^^^