From 3bd0ac7a8d21b5b2c4e64dc39abf99c75af12916 Mon Sep 17 00:00:00 2001 From: Fridtjof Stoldt Date: Thu, 14 Apr 2022 07:02:59 +0200 Subject: [PATCH] Update lint description of `clippy::manual_bits` to include the `as usize` cast --- clippy_lints/src/manual_bits.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/manual_bits.rs b/clippy_lints/src/manual_bits.rs index 44ff151ea52..ac3d9447b6b 100644 --- a/clippy_lints/src/manual_bits.rs +++ b/clippy_lints/src/manual_bits.rs @@ -24,7 +24,7 @@ declare_clippy_lint! { /// ``` /// Use instead: /// ```rust - /// usize::BITS; + /// usize::BITS as usize; /// ``` #[clippy::version = "1.60.0"] pub MANUAL_BITS,