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) => {
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",
));
}
};