File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -471,7 +471,7 @@ impl<'a> Arguments<'a> {
471
471
#[ stable( feature = "fmt_as_str" , since = "1.52.0" ) ]
472
472
#[ rustc_const_unstable( feature = "const_arguments_as_str" , issue = "103900" ) ]
473
473
#[ must_use]
474
- #[ inline]
474
+ #[ inline( always ) ]
475
475
pub const fn as_str ( & self ) -> Option < & ' static str > {
476
476
if self . num_parts . get ( ) == 1 {
477
477
// SAFETY: With num_parts == 1, the `parts` field stores just the string.
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ macro_rules! nonzero_integers {
87
87
88
88
/// Returns the value as a primitive type.
89
89
#[ $stability]
90
- #[ inline]
90
+ #[ inline( always ) ]
91
91
#[ rustc_const_stable( feature = "const_nonzero_get" , since = "1.34.0" ) ]
92
92
pub const fn get( self ) -> $Int {
93
93
self . 0
You can’t perform that action at this time.
0 commit comments