Skip to content

Commit 3bd0ac7

Browse files
authored
Update lint description of clippy::manual_bits to include the as usize cast
1 parent ba15cdd commit 3bd0ac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/manual_bits.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ declare_clippy_lint! {
2424
/// ```
2525
/// Use instead:
2626
/// ```rust
27-
/// usize::BITS;
27+
/// usize::BITS as usize;
2828
/// ```
2929
#[clippy::version = "1.60.0"]
3030
pub MANUAL_BITS,

0 commit comments

Comments
 (0)