mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-16 18:44:56 +00:00
Update lint description of clippy::manual_bits
to include the as usize
cast
This commit is contained in:
parent
ba15cdd3c1
commit
3bd0ac7a8d
@ -24,7 +24,7 @@ declare_clippy_lint! {
|
||||
/// ```
|
||||
/// Use instead:
|
||||
/// ```rust
|
||||
/// usize::BITS;
|
||||
/// usize::BITS as usize;
|
||||
/// ```
|
||||
#[clippy::version = "1.60.0"]
|
||||
pub MANUAL_BITS,
|
||||
|
Loading…
Reference in New Issue
Block a user