diff options
| author | pierwill <19642016+pierwill@users.noreply.github.com> | 2022-01-07 10:26:26 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-07 10:26:26 -0600 |
| commit | 130ba4718ece5d1c1f72f4ace679dbdcba4e328d (patch) | |
| tree | 58256729fa85e611b46e2e2967c4bc2fa786d0fc /compiler | |
| parent | e012a191d768adeda1ee36a99ef8b92d51920154 (diff) | |
| download | rust-130ba4718ece5d1c1f72f4ace679dbdcba4e328d.tar.gz rust-130ba4718ece5d1c1f72f4ace679dbdcba4e328d.zip | |
Fix typo in `StableCrateId` docs
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_span/src/def_id.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_span/src/def_id.rs b/compiler/rustc_span/src/def_id.rs index f6b0785a07c..24d2a8ac073 100644 --- a/compiler/rustc_span/src/def_id.rs +++ b/compiler/rustc_span/src/def_id.rs @@ -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); |
