about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJmPotato <ghzpotato@gmail.com>2020-08-11 16:50:45 +0800
committerJmPotato <ghzpotato@gmail.com>2020-08-11 16:50:45 +0800
commit7fbc9afca48240cf16c82a996ac7b14c554bade6 (patch)
treea524ab8130eca2de7e1a21e2bcb2f5c79d939d42
parentb69dfddb572b9182f4880065ca5034aba8b15ce3 (diff)
downloadrust-7fbc9afca48240cf16c82a996ac7b14c554bade6.tar.gz
rust-7fbc9afca48240cf16c82a996ac7b14c554bade6.zip
Typo fix
Signed-off-by: JmPotato <ghzpotato@gmail.com>
-rw-r--r--crates/ra_hir_expand/src/hygiene.rs2
-rw-r--r--crates/ra_hir_expand/src/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir_expand/src/hygiene.rs b/crates/ra_hir_expand/src/hygiene.rs
index 6b482a60c54..aefe47bd32a 100644
--- a/crates/ra_hir_expand/src/hygiene.rs
+++ b/crates/ra_hir_expand/src/hygiene.rs
@@ -17,7 +17,7 @@ pub struct Hygiene {
     // This is what `$crate` expands to
     def_crate: Option<CrateId>,
 
-    // Indiciate this is a local inner macro
+    // Indicate this is a local inner macro
     local_inner: bool,
 }
 
diff --git a/crates/ra_hir_expand/src/lib.rs b/crates/ra_hir_expand/src/lib.rs
index 2e8d6369171..abae498d826 100644
--- a/crates/ra_hir_expand/src/lib.rs
+++ b/crates/ra_hir_expand/src/lib.rs
@@ -44,7 +44,7 @@ mod test_db;
 /// containing the call plus the offset of the macro call in the file. Note that
 /// this is a recursive definition! However, the size_of of `HirFileId` is
 /// finite (because everything bottoms out at the real `FileId`) and small
-/// (`MacroCallId` uses the location interner).
+/// (`MacroCallId` uses the location internal).
 #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
 pub struct HirFileId(HirFileIdRepr);