Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jneem committed May 21, 2024
1 parent ce7670a commit bcc3d73
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cargo/util/context/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,9 @@ impl GlobalContext {

/// Local overlay configuration.
///
/// The values in this map are paths pointing to a local registry. Inserted overlays will
/// affect any newly created `PackageRegistry`s.
///
/// See [`crate::sources::overlay::OverlayConfusionAttack`] for why you shouldn't use this.
pub fn local_overlays(&self) -> RefMut<'_, HashMap<SourceId, PathBuf>> {
self.local_overlays.borrow_mut()
Expand Down

0 comments on commit bcc3d73

Please sign in to comment.