Some simple clippy::perf
fixes
This commit is contained in:
parent
1c39afb375
commit
f058d05fc2
5 changed files with 5 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue