Explorar o código

refactor(clippy): clippy::uninlined_format_args

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen %!s(int64=2) %!d(string=hai) anos
pai
achega
0fd79ce51c
Modificáronse 1 ficheiros con 1 adicións e 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