about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorpierwill <19642016+pierwill@users.noreply.github.com>2022-01-07 10:26:26 -0600
committerGitHub <noreply@github.com>2022-01-07 10:26:26 -0600
commit130ba4718ece5d1c1f72f4ace679dbdcba4e328d (patch)
tree58256729fa85e611b46e2e2967c4bc2fa786d0fc /compiler
parente012a191d768adeda1ee36a99ef8b92d51920154 (diff)
downloadrust-130ba4718ece5d1c1f72f4ace679dbdcba4e328d.tar.gz
rust-130ba4718ece5d1c1f72f4ace679dbdcba4e328d.zip
Fix typo in `StableCrateId` docs
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_span/src/def_id.rs4
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);