From 986e5a0e36e2e48f0847827dd561896c731ccfd1 Mon Sep 17 00:00:00 2001 From: Joe Neeman Date: Wed, 29 May 2024 18:11:43 -0500 Subject: [PATCH] Fix doc link --- src/cargo/util/context/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/util/context/mod.rs b/src/cargo/util/context/mod.rs index e1a1a6a50896..bb4635a46b19 100644 --- a/src/cargo/util/context/mod.rs +++ b/src/cargo/util/context/mod.rs @@ -531,7 +531,7 @@ impl GlobalContext { /// 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. + /// See [`crate::sources::overlay::DependencyConfusionThreatOverlaySource`] for why you shouldn't use this. pub fn local_overlays(&self) -> RefMut<'_, HashMap> { self.local_overlays.borrow_mut() }