From 21f20d5debe141e5c0d34ab56c4563a8be077aca Mon Sep 17 00:00:00 2001 From: Vincent Esche Date: Wed, 20 Mar 2019 09:29:10 +0100 Subject: =?UTF-8?q?Fixed=20typo=20in=20`Interner`=E2=80=99s=20name=20(`Int?= =?UTF-8?q?ener`)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/ra_db/src/lib.rs | 2 +- crates/ra_db/src/loc2id.rs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'crates/ra_db/src') diff --git a/crates/ra_db/src/lib.rs b/crates/ra_db/src/lib.rs index e006c6d27..f3389c91f 100644 --- a/crates/ra_db/src/lib.rs +++ b/crates/ra_db/src/lib.rs @@ -16,7 +16,7 @@ pub use crate::{ input::{ FileId, CrateId, SourceRoot, SourceRootId, CrateGraph, Dependency, Edition, }, - loc2id::LocationIntener, + loc2id::LocationInterner, }; pub trait CheckCanceled: panic::RefUnwindSafe { diff --git a/crates/ra_db/src/loc2id.rs b/crates/ra_db/src/loc2id.rs index d27fa7682..eae64a4eb 100644 --- a/crates/ra_db/src/loc2id.rs +++ b/crates/ra_db/src/loc2id.rs @@ -59,7 +59,7 @@ where } #[derive(Debug)] -pub struct LocationIntener +pub struct LocationInterner where ID: ArenaId + Clone, LOC: Clone + Eq + Hash, @@ -67,7 +67,7 @@ where map: Mutex>, } -impl panic::RefUnwindSafe for LocationIntener +impl panic::RefUnwindSafe for LocationInterner where ID: ArenaId + Clone, LOC: Clone + Eq + Hash, @@ -76,17 +76,17 @@ where { } -impl Default for LocationIntener +impl Default for LocationInterner where ID: ArenaId + Clone, LOC: Clone + Eq + Hash, { fn default() -> Self { - LocationIntener { map: Default::default() } + LocationInterner { map: Default::default() } } } -impl LocationIntener +impl LocationInterner where ID: ArenaId + Clone, LOC: Clone + Eq + Hash, -- cgit v1.2.3