Fix typo in StableCrateId docs
This commit is contained in:
@@ -136,8 +136,8 @@ impl Borrow<Fingerprint> for DefPathHash {
|
|||||||
/// collisions when loading crates and abort compilation in order to avoid
|
/// collisions when loading crates and abort compilation in order to avoid
|
||||||
/// further trouble.
|
/// further trouble.
|
||||||
///
|
///
|
||||||
/// See the discussion in [`DefId`] for more information
|
/// For more information on the possibility of hash collisions in rustc,
|
||||||
/// on the possibility of hash collisions in rustc,
|
/// see the discussion in [`DefId`].
|
||||||
#[derive(Copy, Clone, Hash, PartialEq, Eq, PartialOrd, Ord, Debug)]
|
#[derive(Copy, Clone, Hash, PartialEq, Eq, PartialOrd, Ord, Debug)]
|
||||||
#[derive(HashStable_Generic, Encodable, Decodable)]
|
#[derive(HashStable_Generic, Encodable, Decodable)]
|
||||||
pub struct StableCrateId(pub(crate) u64);
|
pub struct StableCrateId(pub(crate) u64);
|
||||||
|
|||||||
Reference in New Issue
Block a user