Skip to content

Update README for new feature flags. #92

Update README for new feature flags.

Update README for new feature flags. #92

GitHub Actions / clippy succeeded Sep 15, 2024 in 0s

clippy

4 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 4
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 warning on line 463 in src/error.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this manual char comparison can be written more succinctly

warning: this manual char comparison can be written more succinctly
   --> src/error.rs:463:32
    |
463 |     match source[position..].find(|c| c == '\n' || c == '\r') {
    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of `char`: `['\n', '\r']`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison

Check warning on line 456 in src/error.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this manual char comparison can be written more succinctly

warning: this manual char comparison can be written more succinctly
   --> src/error.rs:456:33
    |
456 |     match source[..position].rfind(|c| c == '\n' || c == '\r') {
    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of `char`: `['\n', '\r']`
    |
    = 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

Check warning on line 463 in src/error.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this manual char comparison can be written more succinctly

warning: this manual char comparison can be written more succinctly
   --> src/error.rs:463:32
    |
463 |     match source[position..].find(|c| c == '\n' || c == '\r') {
    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of `char`: `['\n', '\r']`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison

Check warning on line 456 in src/error.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this manual char comparison can be written more succinctly

warning: this manual char comparison can be written more succinctly
   --> src/error.rs:456:33
    |
456 |     match source[..position].rfind(|c| c == '\n' || c == '\r') {
    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of `char`: `['\n', '\r']`
    |
    = 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