This commit is contained in:
nora 2022-09-13 12:45:50 +02:00
parent caffa621de
commit 20befd0a8f
2 changed files with 8 additions and 0 deletions

View file

@ -140,6 +140,9 @@ impl ToTokens for FmtPart {
}
FmtPart::Spec(spec, expr) => {
let mut tokens = expr.to_token_stream();
// FIXME: Wait no we want `DebugArg::<WithUwu<WithOwo<()>>>(expr)`
if let Some(align) = &spec.align {
if let Some(fill) = align.fill {
tokens = quote! { ::mono_fmt::_private::WithFill::<_, #fill>(#tokens) };