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.
1 parent 8f04a65 commit 4bcfd9eCopy full SHA for 4bcfd9e
src/cargo/sources/registry/mod.rs
@@ -826,7 +826,7 @@ impl<'cfg> Source for RegistrySource<'cfg> {
826
// IO errors in creating and marking it are ignored, e.g. in case we're on a
827
// read-only filesystem.
828
let registry_base = self.config.registry_base_path();
829
- let _ = registry_base.create_dir()?;
+ let _ = registry_base.create_dir();
830
exclude_from_backups_and_indexing(®istry_base.into_path_unlocked());
831
832
self.ops.block_until_ready()
0 commit comments