From 72b0ba0b0554bb829c11b15a85ef8a5067d7e8b1 Mon Sep 17 00:00:00 2001 From: leon Date: Thu, 9 Jun 2022 08:38:14 +0200 Subject: [PATCH] df: fixed clippy warning --- src/uu/df/src/df.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uu/df/src/df.rs b/src/uu/df/src/df.rs index c0b0af477..bb6118ac8 100644 --- a/src/uu/df/src/df.rs +++ b/src/uu/df/src/df.rs @@ -448,7 +448,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> { Err(error) => { return Err(UIoError::new( error.kind(), - format!("cannot read table of mounted file systems"), + "cannot read table of mounted file systems", )); } }; @@ -466,7 +466,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> { Err(error) => { return Err(UIoError::new( error.kind(), - format!("cannot read table of mounted file systems"), + "cannot read table of mounted file systems", )); } };