فهرست منبع

refactor(clippy): clippy::uninlined_format_args

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen 2 سال پیش
والد
کامیت
0fd79ce51c
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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 {
         let error_message = if let Some(path) = path {
             format!("<{}: {}>", path.display(), error)
             format!("<{}: {}>", path.display(), error)
         } else {
         } else {
-            format!("<{}>", error)
+            format!("<{error}>")
         };
         };
 
 
         // TODO: broken_symlink() doesn’t quite seem like the right name for
         // TODO: broken_symlink() doesn’t quite seem like the right name for