chore: a few minor lints
* do not use `&` for the format args as it cannot (yet) be optimized by the compiler * a few format inlining
This commit is contained in:
parent
c8353a52af
commit
9dbe165296
11 changed files with 32 additions and 36 deletions
|
|
@ -1342,7 +1342,7 @@ impl Loader {
|
|||
.with_context(|| {
|
||||
format!(
|
||||
"Failed to load language for file name {}",
|
||||
&path.file_name().unwrap().to_string_lossy()
|
||||
path.file_name().unwrap().to_string_lossy()
|
||||
)
|
||||
})?
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue