Package
Library
Describe the bug
verify-clippy fails due to a new clippy warning on byte arrays introduced in Rust 1.81.0
Minimal Reproducible Example
Run just verify with Rust >= 1.81.0
Expected behavior
Multiple clippy warnings are thrown in rsonpath-lib and rsonpath-syntax.
Since warnings are treated as errors, the build fails.
Workarounds (optional)
The clippy::byte_char_slices warning was introduced in Rust 1.81.0 (see docs).
Proposed solution (optional)
Replace every [b'a', b'b'] with b"ab".
Version of the release
v0.10.0
Rust version
*>=1.81.0
Target triple
all
Features enabled
default
Codegen options
No response
Additional context (optional)
No response
Package
Library
Describe the bug
verify-clippyfails due to a new clippy warning on byte arrays introduced in Rust 1.81.0Minimal Reproducible Example
Run
just verifywith Rust>= 1.81.0Expected behavior
Multiple clippy warnings are thrown in
rsonpath-libandrsonpath-syntax.Since warnings are treated as errors, the build fails.
Workarounds (optional)
The
clippy::byte_char_sliceswarning was introduced in Rust 1.81.0 (see docs).Proposed solution (optional)
Replace every
[b'a', b'b']withb"ab".Version of the release
v0.10.0
Rust version
*>=1.81.0
Target triple
all
Features enabled
default
Codegen options
No response
Additional context (optional)
No response