File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,10 @@ macro_rules! int_impl {
107
107
108
108
/// Returns the number of leading zeros in the binary representation of `self`.
109
109
///
110
+ /// The
111
+ #[ doc = concat!( "[`" , stringify!( $SelfTy) , "::ilog2()`]" ) ]
112
+ /// function returns a consistent number, even if the type widens.
113
+ ///
110
114
/// # Examples
111
115
///
112
116
/// Basic usage:
Original file line number Diff line number Diff line change @@ -109,6 +109,10 @@ macro_rules! uint_impl {
109
109
110
110
/// Returns the number of leading zeros in the binary representation of `self`.
111
111
///
112
+ /// The
113
+ #[ doc = concat!( "[`" , stringify!( $SelfTy) , "::ilog2()`]" ) ]
114
+ /// function returns a consistent number, even if the type widens.
115
+ ///
112
116
/// # Examples
113
117
///
114
118
/// Basic usage:
You can’t perform that action at this time.
0 commit comments