diff --git a/mono-fmt-macro/src/lib.rs b/mono-fmt-macro/src/lib.rs index 53904f3..a377cfb 100644 --- a/mono-fmt-macro/src/lib.rs +++ b/mono-fmt-macro/src/lib.rs @@ -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::>>(expr)` + if let Some(align) = &spec.align { if let Some(fill) = align.fill { tokens = quote! { ::mono_fmt::_private::WithFill::<_, #fill>(#tokens) }; diff --git a/src/lib.rs b/src/lib.rs index 5ac0375..7dca3ea 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -136,3 +136,8 @@ mod tests { assert_eq!(result, r#"test "uwu" hello"#); } } + + +fn f() { + crate::format!("uwu, {f:_