mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
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:
parent
af5940b731
commit
c4e3ae4f7c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user