Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(dep): bump the test-deps group across 1 directory with 3 updates #612

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

chore(dep): bump the test-deps group across 1 directory with 3 updates

b2e14a8
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

chore(dep): bump the test-deps group across 1 directory with 3 updates #612

chore(dep): bump the test-deps group across 1 directory with 3 updates
b2e14a8
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy failed Dec 16, 2024 in 0s

clippy

2 errors

Details

Results

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

Versions

  • rustc 1.85.0-nightly (c26db435b 2024-12-15)
  • cargo 1.85.0-nightly (769f622e1 2024-12-14)
  • clippy 0.1.85 (c26db435bf 2024-12-15)

Annotations

Check failure on line 518 in crates/rsonpath-lib/src/input/padding.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this `map_or` can be simplified

error: this `map_or` can be simplified
   --> crates/rsonpath-lib/src/input/padding.rs:518:16
    |
518 |             && preceding_char.map_or(true, |x| x != b'\\')
    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use a standard comparison instead: `(preceding_char != Some(b'\\'))`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or

Check failure on line 301 in crates/rsonpath-lib/src/input/padding.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this `map_or` can be simplified

error: this `map_or` can be simplified
   --> crates/rsonpath-lib/src/input/padding.rs:301:67
    |
301 |         middle_self == middle_other && last_self == last_other && preceding_char.map_or(true, |x| x != b'\\')
    |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use a standard comparison instead: `(preceding_char != Some(b'\\'))`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
    = note: `-D clippy::unnecessary-map-or` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::unnecessary_map_or)]`