aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_db/src/loc2id.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-03-20 08:47:04 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-03-20 08:47:04 +0000
commit69ee5c9c5ef212f7911028c9ddf581559e6565c3 (patch)
tree32ddffef8d2c21e9f5229f2608a1aaf8f60cc8b5 /crates/ra_db/src/loc2id.rs
parentd080c8f02105bc52f069785ae3e843a6606560e1 (diff)
parent21f20d5debe141e5c0d34ab56c4563a8be077aca (diff)
Merge #999
999: Fixed typo in `Interner`’s name (`Intener`) r=matklad a=regexident Co-authored-by: Vincent Esche <[email protected]>
Diffstat (limited to 'crates/ra_db/src/loc2id.rs')
-rw-r--r--crates/ra_db/src/loc2id.rs10
1 files changed, 5 insertions, 5 deletions
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
59} 59}
60 60
61#[derive(Debug)] 61#[derive(Debug)]
62pub struct LocationIntener<LOC, ID> 62pub struct LocationInterner<LOC, ID>
63where 63where
64 ID: ArenaId + Clone, 64 ID: ArenaId + Clone,
65 LOC: Clone + Eq + Hash, 65 LOC: Clone + Eq + Hash,
@@ -67,7 +67,7 @@ where
67 map: Mutex<Loc2IdMap<LOC, ID>>, 67 map: Mutex<Loc2IdMap<LOC, ID>>,
68} 68}
69 69
70impl<LOC, ID> panic::RefUnwindSafe for LocationIntener<LOC, ID> 70impl<LOC, ID> panic::RefUnwindSafe for LocationInterner<LOC, ID>
71where 71where
72 ID: ArenaId + Clone, 72 ID: ArenaId + Clone,
73 LOC: Clone + Eq + Hash, 73 LOC: Clone + Eq + Hash,
@@ -76,17 +76,17 @@ where
76{ 76{
77} 77}
78 78
79impl<LOC, ID> Default for LocationIntener<LOC, ID> 79impl<LOC, ID> Default for LocationInterner<LOC, ID>
80where 80where
81 ID: ArenaId + Clone, 81 ID: ArenaId + Clone,
82 LOC: Clone + Eq + Hash, 82 LOC: Clone + Eq + Hash,
83{ 83{
84 fn default() -> Self { 84 fn default() -> Self {
85 LocationIntener { map: Default::default() } 85 LocationInterner { map: Default::default() }
86 } 86 }
87} 87}
88 88
89impl<LOC, ID> LocationIntener<LOC, ID> 89impl<LOC, ID> LocationInterner<LOC, ID>
90where 90where
91 ID: ArenaId + Clone, 91 ID: ArenaId + Clone,
92 LOC: Clone + Eq + Hash, 92 LOC: Clone + Eq + Hash,