chore: fmt #4
GitHub Actions / clippy
succeeded
Aug 4, 2024 in 0s
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (0)
Filtered Findings (1)
src/parser/lex.rs|17 col 44| warning: this manual char comparison can be written more succinctly
--> src/parser/lex.rs:17:44
|
17 | if let Some(idx) = parameter_text.find(|c: char| c == '%' || c == '}') {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of char
: ['%', '}']
|
= 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