Sfoglia il codice sorgente

refactor(clippy): clippy::uninlined_format_args

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen 2 anni fa
parent
commit
0fd79ce51c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/output/details.rs

+ 1 - 1
src/output/details.rs

@@ -357,7 +357,7 @@ impl<'a> Render<'a> {
         let error_message = if let Some(path) = path {
             format!("<{}: {}>", path.display(), error)
         } else {
-            format!("<{}>", error)
+            format!("<{error}>")
         };
 
         // TODO: broken_symlink() doesn’t quite seem like the right name for