Restrict lifetimes of SectionSetter methods (#135) #52
GitHub Actions / clippy-macos-latest
succeeded
Aug 2, 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.82.0-nightly (8e86c9567 2024-08-01)
- cargo 1.82.0-nightly (257b72b8a 2024-07-30)
- clippy 0.1.82 (8e86c956 2024-08-01)
Annotations
Check warning on line 1480 in src/lib.rs
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:1480:45
|
1480 | 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
Loading