File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 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 {
107107
108108 /// Returns the number of leading zeros in the binary representation of `self`.
109109 ///
110+ /// The
111+ #[ doc = concat!( "[`" , stringify!( $SelfTy) , "::ilog2()`]" ) ]
112+ /// function returns a consistent number, even if the type widens.
113+ ///
110114 /// # Examples
111115 ///
112116 /// Basic usage:
Original file line number Diff line number Diff line change @@ -109,6 +109,10 @@ macro_rules! uint_impl {
109109
110110 /// Returns the number of leading zeros in the binary representation of `self`.
111111 ///
112+ /// The
113+ #[ doc = concat!( "[`" , stringify!( $SelfTy) , "::ilog2()`]" ) ]
114+ /// function returns a consistent number, even if the type widens.
115+ ///
112116 /// # Examples
113117 ///
114118 /// Basic usage:
Original file line number Diff line number Diff line change @@ -12,11 +12,9 @@ unset GIT_DIR
1212ROOT_DIR=" $( git rev-parse --show-toplevel) "
1313COMMAND=" $ROOT_DIR /x.py test tidy"
1414
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+
2018
2119echo " Running pre-push script '$COMMAND '"
2220
You can’t perform that action at this time.
0 commit comments