Skip to content

Add option to skip errors when no matches are found

Sign in for the full log view
GitHub Actions / clippy failed Oct 12, 2024 in 0s

clippy

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.81.0 (eeb90cda1 2024-09-04)
  • cargo 1.81.0 (2dbb1af80 2024-08-20)
  • clippy 0.1.81 (eeb90cd 2024-09-04)

Annotations

Check failure on line 282 in src/app.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `format!`

error: useless use of `format!`
   --> src/app.rs:279:40
    |
279 |                   console.print_message(&format!(
    |  ________________________________________^
280 | |                     "{}",
281 | |                     "nothing found to replace"
282 | |                 ));
    | |_________________^ help: consider using `.to_string()`: `"nothing found to replace".to_string()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
    = note: `-D clippy::useless-format` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::useless_format)]`

Check failure on line 282 in src/app.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `format!`

error: useless use of `format!`
   --> src/app.rs:279:40
    |
279 |                   console.print_message(&format!(
    |  ________________________________________^
280 | |                     "{}",
281 | |                     "nothing found to replace"
282 | |                 ));
    | |_________________^ help: consider using `.to_string()`: `"nothing found to replace".to_string()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
    = note: `-D clippy::useless-format` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::useless_format)]`