Skip to content

Commit

Permalink
Rollup merge of rust-lang#92650 - pierwill:patch-2, r=michaelwoerister
Browse files Browse the repository at this point in the history
Fix typo in `StableCrateId` docs
  • Loading branch information
ehuss authored Jan 8, 2022
2 parents 1001068 + 130ba47 commit 05cfc4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_span/src/def_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ impl Borrow<Fingerprint> for DefPathHash {
/// collisions when loading crates and abort compilation in order to avoid
/// further trouble.
///
/// See the discussion in [`DefId`] for more information
/// on the possibility of hash collisions in rustc,
/// For more information on the possibility of hash collisions in rustc,
/// see the discussion in [`DefId`].
#[derive(Copy, Clone, Hash, PartialEq, Eq, PartialOrd, Ord, Debug)]
#[derive(HashStable_Generic, Encodable, Decodable)]
pub struct StableCrateId(pub(crate) u64);
Expand Down

0 comments on commit 05cfc4f

Please sign in to comment.