Improve readme badges and links #112
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / clippy
failed
Dec 3, 2023 in 0s
clippy
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.74.0 (79e9716c9 2023-11-13)
- cargo 1.74.0 (ecb9851af 2023-10-18)
- clippy 0.1.74 (79e9716 2023-11-13)
Annotations
Check failure on line 220 in src/pebble.rs
github-actions / clippy
casting a character literal to `u8` truncates
error: casting a character literal to `u8` truncates
--> src/pebble.rs:220:37
|
220 | .map(|&b| (b == '\n' as u8) as u32)
| ^^^^^^^^^^ help: use a byte literal instead: `b'\n'`
|
= note: `char` is four bytes wide, but `u8` is a single byte
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#char_lit_as_u8
= note: `-D clippy::char-lit-as-u8` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::char_lit_as_u8)]`
Loading