File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1543,6 +1543,7 @@ macro_rules! nonzero_integer_signedness_dependent_methods {
1543
1543
#[ rustc_const_unstable( feature = "isqrt" , issue = "116226" ) ]
1544
1544
#[ must_use = "this returns the result of the operation, \
1545
1545
without modifying the original"]
1546
+ #[ inline( always) ]
1546
1547
pub const fn isqrt( self ) -> Self {
1547
1548
let result = self . get( ) . isqrt( ) ;
1548
1549
Original file line number Diff line number Diff line change @@ -2704,7 +2704,7 @@ macro_rules! uint_impl {
2704
2704
#[ rustc_const_unstable( feature = "isqrt" , issue = "116226" ) ]
2705
2705
#[ must_use = "this returns the result of the operation, \
2706
2706
without modifying the original"]
2707
- #[ inline]
2707
+ #[ inline( always ) ]
2708
2708
pub const fn isqrt( self ) -> Self {
2709
2709
let result = crate :: num:: int_sqrt:: $ActualT( self as $ActualT) as $SelfT;
2710
2710
You can’t perform that action at this time.
0 commit comments