Skip to content

Commit 05cfc4f

Browse files
authored
Rollup merge of #92650 - pierwill:patch-2, r=michaelwoerister
Fix typo in `StableCrateId` docs
2 parents 1001068 + 130ba47 commit 05cfc4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: compiler/rustc_span/src/def_id.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ impl Borrow<Fingerprint> for DefPathHash {
136136
/// collisions when loading crates and abort compilation in order to avoid
137137
/// further trouble.
138138
///
139-
/// See the discussion in [`DefId`] for more information
140-
/// on the possibility of hash collisions in rustc,
139+
/// For more information on the possibility of hash collisions in rustc,
140+
/// see the discussion in [`DefId`].
141141
#[derive(Copy, Clone, Hash, PartialEq, Eq, PartialOrd, Ord, Debug)]
142142
#[derive(HashStable_Generic, Encodable, Decodable)]
143143
pub struct StableCrateId(pub(crate) u64);

0 commit comments

Comments
 (0)