Merge pull request #5360 from sylvestre/clippy

touch: fix clippy warning - redundant guard
This commit is contained in:
Daniel Hofstetter 2023-10-06 06:59:52 +02:00 committed by GitHub
commit e03028f2c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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