diff --git a/library/core/src/fmt/rt/v1.rs b/library/core/src/fmt/rt/v1.rs index e61b89fad5d..11a50951a75 100644 --- a/library/core/src/fmt/rt/v1.rs +++ b/library/core/src/fmt/rt/v1.rs @@ -23,7 +23,8 @@ pub struct FormatSpec { } impl Argument { - pub fn new( + #[inline(always)] + pub const fn new( position: usize, fill: char, align: Alignment,