mirror of
https://github.com/uutils/coreutils
synced 2025-01-19 00:24:13 +00:00
Merge pull request #5360 from sylvestre/clippy
touch: fix clippy warning - redundant guard
This commit is contained in:
commit
e03028f2c4
1 changed files with 1 additions and 1 deletions
|
@ -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!(
|
||||||
|
|
Loading…
Reference in a new issue