diff --git a/src/cargo/core/compiler/rustdoc.rs b/src/cargo/core/compiler/rustdoc.rs index 37e70fde0b4..78a095c83fe 100644 --- a/src/cargo/core/compiler/rustdoc.rs +++ b/src/cargo/core/compiler/rustdoc.rs @@ -16,7 +16,7 @@ use url::Url; pub enum RustdocExternMode { /// Use a local `file://` URL. Local, - /// Use a remote URL to https://doc.rust-lang.org/ (default). + /// Use a remote URL to (default). Remote, /// An arbitrary URL. Url(String), diff --git a/src/cargo/core/source/source_id.rs b/src/cargo/core/source/source_id.rs index 7276fe7f315..5e6322d9e9c 100644 --- a/src/cargo/core/source/source_id.rs +++ b/src/cargo/core/source/source_id.rs @@ -19,8 +19,6 @@ lazy_static::lazy_static! { } /// Unique identifier for a source of packages. -/// -/// See also: [`SourceKind`]. #[derive(Clone, Copy, Eq, Debug)] pub struct SourceId { inner: &'static SourceIdInner, diff --git a/src/cargo/sources/registry/mod.rs b/src/cargo/sources/registry/mod.rs index 76a5da0089a..159b0952900 100644 --- a/src/cargo/sources/registry/mod.rs +++ b/src/cargo/sources/registry/mod.rs @@ -240,7 +240,7 @@ pub struct RegistryPackage<'a> { yanked: Option, /// Native library name this package links to. /// - /// Added early 2018 (see https://github.com/rust-lang/cargo/pull/4978), + /// Added early 2018 (see ), /// can be `None` if published before then. links: Option, }