Skip to content

Commit 08c173a

Browse files
committed
Auto merge of #13478 - heisen-li:link, r=epage
[docs]:Add missing jump links ### What does this PR try to resolve? Add missing jump links. If the maintainer does this intentionally, close the PR at any time.
2 parents cafbc12 + b174cc2 commit 08c173a

File tree

1 file changed

+6
-3
lines changed
  • src/cargo/core/compiler/fingerprint

1 file changed

+6
-3
lines changed

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

+6-3
Original file line numberDiff line numberDiff line change
@@ -548,15 +548,18 @@ struct DepFingerprint {
548548
/// as a fingerprint (all source files must be modified *before* this mtime).
549549
/// This dep-info file is not generated, however, until after the crate is
550550
/// compiled. As a result, this structure can be thought of as a fingerprint
551-
/// to-be. The actual value can be calculated via `hash_u64()`, but the operation
551+
/// to-be. The actual value can be calculated via [`hash_u64()`], but the operation
552552
/// may fail as some files may not have been generated.
553553
///
554554
/// Note that dependencies are taken into account for fingerprints because rustc
555555
/// requires that whenever an upstream crate is recompiled that all downstream
556556
/// dependents are also recompiled. This is typically tracked through
557-
/// `DependencyQueue`, but it also needs to be retained here because Cargo can
558-
/// be interrupted while executing, losing the state of the `DependencyQueue`
557+
/// [`DependencyQueue`], but it also needs to be retained here because Cargo can
558+
/// be interrupted while executing, losing the state of the [`DependencyQueue`]
559559
/// graph.
560+
///
561+
/// [`hash_u64()`]: crate::core::compiler::fingerprint::Fingerprint::hash_u64
562+
/// [`DependencyQueue`]: crate::util::DependencyQueue
560563
#[derive(Serialize, Deserialize)]
561564
pub struct Fingerprint {
562565
/// Hash of the version of `rustc` used.

0 commit comments

Comments
 (0)