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
+1 -1
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!(