about summary refs log tree commit diff
path: root/compiler/rustc_span
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2021-04-19 15:57:08 +0300
committerklensy <klensy@users.noreply.github.com>2021-04-19 15:57:08 +0300
commitf43ee8ebf696eec5a8a844629e4f7e910f9f0afd (patch)
treebf829ad19f0402dd8c1148d5df4d6c1edce87923 /compiler/rustc_span
parent62652865b6029b4776a7c03efa13a37b15c9b953 (diff)
downloadrust-f43ee8ebf696eec5a8a844629e4f7e910f9f0afd.tar.gz
rust-f43ee8ebf696eec5a8a844629e4f7e910f9f0afd.zip
fix few typos
Diffstat (limited to 'compiler/rustc_span')
-rw-r--r--compiler/rustc_span/src/hygiene.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/hygiene.rs b/compiler/rustc_span/src/hygiene.rs
index 6805d4f2890..f75fe22767f 100644
--- a/compiler/rustc_span/src/hygiene.rs
+++ b/compiler/rustc_span/src/hygiene.rs
@@ -748,7 +748,7 @@ pub struct ExpnData {
 
     /// Used to force two `ExpnData`s to have different `Fingerprint`s.
     /// Due to macro expansion, it's possible to end up with two `ExpnId`s
-    /// that have identical `ExpnData`s. This violates the constract of `HashStable`
+    /// that have identical `ExpnData`s. This violates the contract of `HashStable`
     /// - the two `ExpnId`s are not equal, but their `Fingerprint`s are equal
     /// (since the numerical `ExpnId` value is not considered by the `HashStable`
     /// implementation).