1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

touch: fix clippy warning - redundant guard

This commit is contained in:
Sylvestre Ledru 2023-10-05 19:18:00 +02:00
parent 3c2e327a34
commit d756a05be6

View file

@ -489,7 +489,7 @@ fn pathbuf_from_stdout() -> UResult<PathBuf> {
format!("GetFinalPathNameByHandleW failed with code {ret}"), format!("GetFinalPathNameByHandleW failed with code {ret}"),
)) ))
} }
e if e == 0 => { 0 => {
return Err(USimpleError::new( return Err(USimpleError::new(
1, 1,
format!( format!(