Skip to content

Commit

Permalink
Fix typo in StableCrateId docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pierwill authored Jan 7, 2022
1 parent e012a19 commit 130ba47
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 130ba47

Please sign in to comment.