Skip to content

dep: bump hashbrown from 0.15.0 to 0.15.2 in the cargo group #108

dep: bump hashbrown from 0.15.0 to 0.15.2 in the cargo group

dep: bump hashbrown from 0.15.0 to 0.15.2 in the cargo group #108

GitHub Actions / clippy failed Dec 4, 2024 in 1s

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 (c44b3d50f 2024-12-03)
  • cargo 1.85.0-nightly (4c39aaff6 2024-11-25)
  • clippy 0.1.85 (c44b3d50fe 2024-12-03)

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)]`