File tree 3 files changed +11
-5
lines changed
3 files changed +11
-5
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:
Original file line number Diff line number Diff line change @@ -12,11 +12,9 @@ unset GIT_DIR
12
12
ROOT_DIR=" $( git rev-parse --show-toplevel) "
13
13
COMMAND=" $ROOT_DIR /x.py test tidy"
14
14
15
- if [[ " $OSTYPE " == " msys" || " $OSTYPE " == " win32" ]]; then
16
- COMMAND=" python $COMMAND "
17
- elif ! command -v python & > /dev/null; then
18
- COMMAND=" python3 $COMMAND "
19
- fi
15
+
16
+ COMMAND=" python3.10 $COMMAND "
17
+
20
18
21
19
echo " Running pre-push script '$COMMAND '"
22
20
You can’t perform that action at this time.
0 commit comments