Skip to content

Commit 0b28167

Browse files
committed
docs: Turn relative links to intra-doc links
1 parent 179c516 commit 0b28167

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cargo/core/compiler/build_runner/compilation_files.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ impl<'a, 'gctx: 'a> CompilationFiles<'a, 'gctx> {
175175
///
176176
/// See [`Metadata`] and [`fingerprint`] module for more.
177177
///
178-
/// [`fingerprint`]: ../../fingerprint/index.html#fingerprints-and-metadata
178+
/// [`fingerprint`]: super::super::fingerprint#fingerprints-and-metadata
179179
pub fn metadata(&self, unit: &Unit) -> Metadata {
180180
self.metas[unit].meta_hash
181181
}

src/cargo/core/compiler/build_runner/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ impl<'a, 'gctx> BuildRunner<'a, 'gctx> {
155155
///
156156
/// See [`ops::cargo_compile`] for a higher-level view of the compile process.
157157
///
158-
/// [`ops::cargo_compile`]: ../../../ops/cargo_compile/index.html
158+
/// [`ops::cargo_compile`]: crate::ops::cargo_compile
159159
#[tracing::instrument(skip_all)]
160160
pub fn compile(mut self, exec: &Arc<dyn Executor>) -> CargoResult<Compilation<'gctx>> {
161161
// A shared lock is held during the duration of the build since rustc

0 commit comments

Comments
 (0)