1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-30 12:37:49 +00:00

df: fixed clippy warning

This commit is contained in:
leon 2022-06-09 08:38:14 +02:00 committed by Sylvestre Ledru
parent 9d554751ca
commit 72b0ba0b05

View file

@ -448,7 +448,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
Err(error) => { Err(error) => {
return Err(UIoError::new( return Err(UIoError::new(
error.kind(), 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) => { Err(error) => {
return Err(UIoError::new( return Err(UIoError::new(
error.kind(), error.kind(),
format!("cannot read table of mounted file systems"), "cannot read table of mounted file systems",
)); ));
} }
}; };