diff options
| author | Eric Huss <eric@huss.org> | 2022-01-07 20:21:02 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-07 20:21:02 -0800 |
| commit | 05cfc4f4a90bb87288d5a85df401af452f2269e0 (patch) | |
| tree | c5b746f779fe6bd06d5859d8dcd95a7fddd60fa3 | |
| parent | 10010685a961547746513d3d460435ddad8f2f07 (diff) | |
| parent | 130ba4718ece5d1c1f72f4ace679dbdcba4e328d (diff) | |
| download | rust-05cfc4f4a90bb87288d5a85df401af452f2269e0.tar.gz rust-05cfc4f4a90bb87288d5a85df401af452f2269e0.zip | |
Rollup merge of #92650 - pierwill:patch-2, r=michaelwoerister
Fix typo in `StableCrateId` docs
| -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); |
