Skip to content

Commit acf1576

Browse files
committed
Fix rustdoc warnings for RegistrySource and RegistryData
Inline the link targets directly in the text. Signed-off-by: Paul Mabileau <[email protected]>
1 parent d7122e6 commit acf1576

File tree

1 file changed

+4
-4
lines changed
  • src/cargo/sources/registry

1 file changed

+4
-4
lines changed

src/cargo/sources/registry/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ const VERSION_TEMPLATE: &str = "{version}";
189189
const PREFIX_TEMPLATE: &str = "{prefix}";
190190
const LOWER_PREFIX_TEMPLATE: &str = "{lowerprefix}";
191191

192-
/// A "source" for a [local](local::LocalRegistry) or
193-
/// [remote](remote::RemoteRegistry) registry.
192+
/// A "source" for a local (see `local::LocalRegistry`) or remote (see
193+
/// `remote::RemoteRegistry`) registry.
194194
///
195195
/// This contains common functionality that is shared between the two registry
196196
/// kinds, with the registry-specific logic implemented as part of the
@@ -415,8 +415,8 @@ impl<'a> RegistryDependency<'a> {
415415
}
416416
}
417417

418-
/// An abstract interface to handle both a [local](local::LocalRegistry) and
419-
/// [remote](remote::RemoteRegistry) registry.
418+
/// An abstract interface to handle both a local (see `local::LocalRegistry`)
419+
/// and remote (see `remote::RemoteRegistry`) registry.
420420
///
421421
/// This allows [`RegistrySource`] to abstractly handle both registry kinds.
422422
pub trait RegistryData {

0 commit comments

Comments
 (0)