Przeglądaj źródła

refactor(clippy): clippy::uninlined_format_args

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen 2 lat temu
rodzic
commit
0fd79ce51c
1 zmienionych plików z 1 dodań i 1 usunięć
  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