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-ubuntu-latest succeeded Sep 21, 2024 in 0s

clippy-ubuntu-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 (da88968 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-ubuntu-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