We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f78aa86 + a9589c7 commit 7d6fe1aCopy full SHA for 7d6fe1a
src/utils/utils.rs
@@ -622,9 +622,8 @@ where
622
OperationResult::Retry(e)
623
}
624
#[cfg(target_os = "linux")]
625
- io::ErrorKind::Other
626
- if process().var_os("RUSTUP_PERMIT_COPY_RENAME").is_some()
627
- && Some(EXDEV) == e.raw_os_error() =>
+ _ if process().var_os("RUSTUP_PERMIT_COPY_RENAME").is_some()
+ && Some(EXDEV) == e.raw_os_error() =>
628
{
629
match copy_and_delete(name, src, dest, notify_handler) {
630
Ok(()) => OperationResult::Ok(()),
0 commit comments