mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Fixed typo in Interner
’s name (Intener
)
This commit is contained in:
parent
d080c8f021
commit
21f20d5deb
3 changed files with 23 additions and 23 deletions
|
@ -16,7 +16,7 @@ pub use crate::{
|
|||
input::{
|
||||
FileId, CrateId, SourceRoot, SourceRootId, CrateGraph, Dependency, Edition,
|
||||
},
|
||||
loc2id::LocationIntener,
|
||||
loc2id::LocationInterner,
|
||||
};
|
||||
|
||||
pub trait CheckCanceled: panic::RefUnwindSafe {
|
||||
|
|
|
@ -59,7 +59,7 @@ where
|
|||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct LocationIntener<LOC, ID>
|
||||
pub struct LocationInterner<LOC, ID>
|
||||
where
|
||||
ID: ArenaId + Clone,
|
||||
LOC: Clone + Eq + Hash,
|
||||
|
@ -67,7 +67,7 @@ where
|
|||
map: Mutex<Loc2IdMap<LOC, ID>>,
|
||||
}
|
||||
|
||||
impl<LOC, ID> panic::RefUnwindSafe for LocationIntener<LOC, ID>
|
||||
impl<LOC, ID> panic::RefUnwindSafe for LocationInterner<LOC, ID>
|
||||
where
|
||||
ID: ArenaId + Clone,
|
||||
LOC: Clone + Eq + Hash,
|
||||
|
@ -76,17 +76,17 @@ where
|
|||
{
|
||||
}
|
||||
|
||||
impl<LOC, ID> Default for LocationIntener<LOC, ID>
|
||||
impl<LOC, ID> Default for LocationInterner<LOC, ID>
|
||||
where
|
||||
ID: ArenaId + Clone,
|
||||
LOC: Clone + Eq + Hash,
|
||||
{
|
||||
fn default() -> Self {
|
||||
LocationIntener { map: Default::default() }
|
||||
LocationInterner { map: Default::default() }
|
||||
}
|
||||
}
|
||||
|
||||
impl<LOC, ID> LocationIntener<LOC, ID>
|
||||
impl<LOC, ID> LocationInterner<LOC, ID>
|
||||
where
|
||||
ID: ArenaId + Clone,
|
||||
LOC: Clone + Eq + Hash,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue