Skip to content

Allow for multiline values with escaped newline (#137) #55

Allow for multiline values with escaped newline (#137)

Allow for multiline values with escaped newline (#137) #55

GitHub Actions / clippy-macos-latest succeeded Sep 21, 2024 in 0s

clippy-macos-latest

1 warning

Details

Results

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

Versions

  • rustc 1.83.0-nightly (da889684c 2024-09-20)
  • cargo 1.83.0-nightly (a9a418d1a 2024-09-15)
  • clippy 0.1.82 (da889684 2024-09-20)

Annotations

Check warning on line 1505 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-macos-latest

this manual char comparison can be written more succinctly

warning: this manual char comparison can be written more succinctly
    --> src/lib.rs:1505:45
     |
1505 |                 let tr = s.trim_end_matches(|c| c == ' ' || c == '\t');
     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of `char`: `[' ', '\t']`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison
     = note: `#[warn(clippy::manual_pattern_char_comparison)]` on by default