Some simple clippy::perf fixes

This commit is contained in:
Nilstrieb 2023-04-09 21:52:46 +02:00
parent 1c39afb375
commit f058d05fc2
5 changed files with 5 additions and 6 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.to_string()),
format!("could not open Fluent resource: {}", e),
)
.emit();
return failed(&crate_name);