Make core::fmt::rt::v1::Argument::new const+inline.

This commit is contained in:
Mara Bos 2023-01-12 00:31:17 +01:00
parent 36fe3b971d
commit 9e6785430b

View File

@ -23,7 +23,8 @@ pub struct FormatSpec {
}
impl Argument {
pub fn new(
#[inline(always)]
pub const fn new(
position: usize,
fill: char,
align: Alignment,