auto merge of #16152 : tshepang/rust/patch-1, r=alexcrichton
This commit is contained in:
commit
cd1216a054
1 changed files with 2 additions and 2 deletions
|
@ -418,7 +418,7 @@ pub trait Int: Primitive
|
||||||
(!self).count_ones()
|
(!self).count_ones()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the number of leading zeros in the in the binary representation
|
/// Returns the number of leading zeros in the binary representation
|
||||||
/// of the integer.
|
/// of the integer.
|
||||||
///
|
///
|
||||||
/// # Example
|
/// # Example
|
||||||
|
@ -430,7 +430,7 @@ pub trait Int: Primitive
|
||||||
/// ```
|
/// ```
|
||||||
fn leading_zeros(self) -> Self;
|
fn leading_zeros(self) -> Self;
|
||||||
|
|
||||||
/// Returns the number of trailing zeros in the in the binary representation
|
/// Returns the number of trailing zeros in the binary representation
|
||||||
/// of the integer.
|
/// of the integer.
|
||||||
///
|
///
|
||||||
/// # Example
|
/// # Example
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue