JelteF/derive_more

Support inline variables in format strings in Display

WiSaGaN opened this issue · 2 comments

Would be great to support the newly stabalized (1.67) format args

#[derive(Display)]
pub enum Foo {
    #[display(fmt="{_0}")]
    Bar(u32),
}

Currently it shows "cannot be formatted with the default parameter"

ilslv commented

@WiSaGaN this feature is already available on main #182 and will be included in the next release.

Didn't know that. Thanks!