Update lint description of clippy::manual_bits to include the as usize cast
This commit is contained in:
parent
ba15cdd3c1
commit
3bd0ac7a8d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue