Skip to content

Commit c657ab6

Browse files
committed
Fix warning for docstring inside generated function.
1 parent 100a20b commit c657ab6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/lib.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ macro_rules! generate_integer_equal {
7575
let mut x: $t = !(self ^ other);
7676
let mut shift: $t = $maxshift;
7777

78-
/// e.g. for a u8, do:
79-
///
80-
/// x &= x >> 4;
81-
/// x &= x >> 2;
82-
/// x &= x >> 1;
83-
///
84-
/// This is variable only in the max size of the integer.
78+
// e.g. for a u8, do:
79+
//
80+
// x &= x >> 4;
81+
// x &= x >> 2;
82+
// x &= x >> 1;
83+
//
84+
// This is variable only in the max size of the integer.
8585
while shift >= 1 {
8686
x &= x >> shift;
8787
shift /= 2;

0 commit comments

Comments
 (0)