diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-20 08:47:04 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-20 08:47:04 +0000 |
commit | 69ee5c9c5ef212f7911028c9ddf581559e6565c3 (patch) | |
tree | 32ddffef8d2c21e9f5229f2608a1aaf8f60cc8b5 /crates/ra_db/src/loc2id.rs | |
parent | d080c8f02105bc52f069785ae3e843a6606560e1 (diff) | |
parent | 21f20d5debe141e5c0d34ab56c4563a8be077aca (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.rs | 10 |
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)] |
62 | pub struct LocationIntener<LOC, ID> | 62 | pub struct LocationInterner<LOC, ID> |
63 | where | 63 | where |
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 | ||
70 | impl<LOC, ID> panic::RefUnwindSafe for LocationIntener<LOC, ID> | 70 | impl<LOC, ID> panic::RefUnwindSafe for LocationInterner<LOC, ID> |
71 | where | 71 | where |
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 | ||
79 | impl<LOC, ID> Default for LocationIntener<LOC, ID> | 79 | impl<LOC, ID> Default for LocationInterner<LOC, ID> |
80 | where | 80 | where |
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 | ||
89 | impl<LOC, ID> LocationIntener<LOC, ID> | 89 | impl<LOC, ID> LocationInterner<LOC, ID> |
90 | where | 90 | where |
91 | ID: ArenaId + Clone, | 91 | ID: ArenaId + Clone, |
92 | LOC: Clone + Eq + Hash, | 92 | LOC: Clone + Eq + Hash, |