Use ArgumentV1 instead of Argument

This commit is contained in:
hkalbasi 2023-06-19 22:48:49 +03:30
parent f99348578a
commit 3c87825074
2 changed files with 8 additions and 8 deletions

View file

@ -361,7 +361,7 @@ fn format_args_expand_general(
quote!(::core::fmt::Display::fmt)
}
};
arg_tts.push(quote! { ::core::fmt::Argument::new(&(#arg_tree), #formatter), });
arg_tts.push(quote! { ::core::fmt::ArgumentV1::new(&(#arg_tree), #formatter), });
}
'}' => {
if format_iter.peek() == Some(&'}') {