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…
x
Reference in New Issue
Block a user