mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 14:13:58 +00:00
Typo fix
Signed-off-by: JmPotato <ghzpotato@gmail.com>
This commit is contained in:
parent
b69dfddb57
commit
7fbc9afca4
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ pub struct Hygiene {
|
||||||
// This is what `$crate` expands to
|
// This is what `$crate` expands to
|
||||||
def_crate: Option<CrateId>,
|
def_crate: Option<CrateId>,
|
||||||
|
|
||||||
// Indiciate this is a local inner macro
|
// Indicate this is a local inner macro
|
||||||
local_inner: bool,
|
local_inner: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ mod test_db;
|
||||||
/// containing the call plus the offset of the macro call in the file. Note that
|
/// 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
|
/// this is a recursive definition! However, the size_of of `HirFileId` is
|
||||||
/// finite (because everything bottoms out at the real `FileId`) and small
|
/// 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)]
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
|
||||||
pub struct HirFileId(HirFileIdRepr);
|
pub struct HirFileId(HirFileIdRepr);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue