Fixed typo in Interner’s name (Intener)

This commit is contained in:
Vincent Esche 2019-03-20 09:29:10 +01:00
parent d080c8f021
commit 21f20d5deb
3 changed files with 23 additions and 23 deletions

View file

@ -16,7 +16,7 @@ pub use crate::{
input::{
FileId, CrateId, SourceRoot, SourceRootId, CrateGraph, Dependency, Edition,
},
loc2id::LocationIntener,
loc2id::LocationInterner,
};
pub trait CheckCanceled: panic::RefUnwindSafe {

View file

@ -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,