Signed-off-by: JmPotato <ghzpotato@gmail.com>
This commit is contained in:
JmPotato 2020-08-11 16:50:45 +08:00
parent b69dfddb57
commit 7fbc9afca4
2 changed files with 2 additions and 2 deletions

View 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,
}

View file

@ -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);