Explorar el Código

refactor(clippy): clippy::uninlined_format_args

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen hace 2 años
padre
commit
0fd79ce51c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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