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

@ -778,7 +778,7 @@ pub fn print_time_passes_entry(
"rss_start": start_rss,
"rss_end": end_rss,
});
eprintln!("time: {}", json);
eprintln!("time: {json}");
return;
}
TimePassesFormat::Text => (),

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);