Update lint description of clippy::manual_bits to include the as usize cast

This commit is contained in:
Fridtjof Stoldt 2022-04-14 07:02:59 +02:00 committed by GitHub
parent ba15cdd3c1
commit 3bd0ac7a8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ declare_clippy_lint! {
/// ```
/// Use instead:
/// ```rust
/// usize::BITS;
/// usize::BITS as usize;
/// ```
#[clippy::version = "1.60.0"]
pub MANUAL_BITS,