verbose_bit_mask: fix bit mask used in docs

Change the existing hex bit mask (`0x1111`) to a binary one (`0b1111`).

The former does not seem to have anything to do with trailing zeros and is
probably a typo.
This commit is contained in:
Sean Leather 2020-04-12 13:11:14 +02:00 committed by GitHub
parent af5940b731
commit c4e3ae4f7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,7 @@ declare_clippy_lint! {
/// **Example:**
/// ```rust
/// # let x = 1;
/// if x & 0x1111 == 0 { }
/// if x & 0b1111 == 0 { }
/// ```
pub VERBOSE_BIT_MASK,
style,