You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: this is a decimal constant
--> src/main.rs:2:20
|
2 | let ascii_cr = 0xD;
| ^^^
|
= note: `#[warn(clippy::zero_prefixed_literal)]` on by default
= help:for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
help:if you mean to use a decimal constant, remove the `0` to avoid confusion
|
2 | let ascii_cr = xD;
| ^^
help: if you mean to use an octal constant, use `0o`
|
2 | let ascii_cr = 0oxD;
| ^^^^
This didn't use to trigger.
The intention may be to suggest 0x0D?
This didn't use to trigger.
The intention may be to suggest
0x0D?
ver: clippy 0.0.212 (07f1736 2020-02-11)
The text was updated successfully, but these errors were encountered: