]> git.lizzy.rs Git - rust.git/commitdiff
Typo fix
authorJmPotato <ghzpotato@gmail.com>
Tue, 11 Aug 2020 08:50:45 +0000 (16:50 +0800)
committerJmPotato <ghzpotato@gmail.com>
Tue, 11 Aug 2020 08:50:45 +0000 (16:50 +0800)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
crates/ra_hir_expand/src/hygiene.rs
crates/ra_hir_expand/src/lib.rs

index 6b482a60c5400ef4f157c05b2caf10bc140f19b7..aefe47bd32acc819d310bd05e910dac0fc54f9c5 100644 (file)
@@ -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,
 }
 
index 2e8d63691716b9f1190a5b5604bc65711464da18..abae498d82642e5c4275ef04835303e083b1fd8e 100644 (file)
@@ -44,7 +44,7 @@
 /// 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);