Inline format_args

Co-authored-by: Michael Goulet <michael@errs.io>
This commit is contained in:
Nilstrieb 2023-04-09 23:29:39 +02:00 committed by GitHub
parent cab94d29ff
commit 73417b1e15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -100,7 +100,7 @@ pub(crate) fn fluent_messages(input: proc_macro::TokenStream) -> proc_macro::Tok
Diagnostic::spanned(
resource_span,
Level::Error,
format!("could not open Fluent resource: {}", e),
format!("could not open Fluent resource: {e}"),
)
.emit();
return failed(&crate_name);