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 @@ -2675,7 +2675,7 @@ macro_rules! uint_impl {
2675
2675
#[ rustc_const_unstable( feature = "isqrt" , issue = "116226" ) ]
2676
2676
#[ must_use = "this returns the result of the operation, \
2677
2677
without modifying the original"]
2678
- #[ inline]
2678
+ #[ inline( always ) ]
2679
2679
pub const fn isqrt( self ) -> Self {
2680
2680
let result = crate :: num:: int_sqrt:: $ActualT( self as $ActualT) as $SelfT;
2681
2681
You can’t perform that action at this time.
0 commit comments