mirror of
https://github.com/simonask/libyaml-safer
synced 2025-02-17 04:48:29 +00:00
No description
error: manual `RangeInclusive::contains` implementation --> src/reader.rs:286:28 | 286 | if value >= 0xd800_u32 && value <= 0xdfff_u32 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0xd800_u32..=0xdfff_u32).contains(&value)` | = note: `-D clippy::manual-range-contains` implied by `-D clippy::all` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains error: manual `RangeInclusive::contains` implementation --> src/reader.rs:391:20 | 391 | || value >= 0x20_u32 && value <= 0x7e_u32 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x20_u32..=0x7e_u32).contains(&value)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains error: manual `RangeInclusive::contains` implementation --> src/reader.rs:393:20 | 393 | || value >= 0xa0_u32 && value <= 0xd7ff_u32 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0xa0_u32..=0xd7ff_u32).contains(&value)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains error: manual `RangeInclusive::contains` implementation --> src/reader.rs:394:20 | 394 | || value >= 0xe000_u32 && value <= 0xfffd_u32 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0xe000_u32..=0xfffd_u32).contains(&value)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains error: manual `RangeInclusive::contains` implementation --> src/reader.rs:395:20 | 395 | || value >= 0x10000_u32 && value <= 0x10ffff_u32) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x10000_u32..=0x10ffff_u32).contains(&value)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains error: manual `RangeInclusive::contains` implementation --> src/scanner.rs:2611:48 | 2611 | ... if value >= 0xd800_u32 | __________________________^ 2612 | | ... && value <= 0xdfff_u32 | |________________________________________________^ help: use: `(0xd800_u32..=0xdfff_u32).contains(&value)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains |
||
---|---|---|
.github/workflows | ||
fuzz | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
LICENSE-MIT | ||
README.md |
unsafe-libyaml
This library is libyaml translated from C to unsafe Rust with the assistance of c2rust.
[dependencies]
unsafe-libyaml = "0.1"
Compiler support: requires rustc 1.56+
License
MIT license, same as libyaml.