diff options
Diffstat (limited to 'src/utils/vec_map.rs')
| -rw-r--r-- | src/utils/vec_map.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/vec_map.rs b/src/utils/vec_map.rs index 70e65f5..d02d659 100644 --- a/src/utils/vec_map.rs +++ b/src/utils/vec_map.rs @@ -2,7 +2,7 @@ // shamelessly copied from https://github.com/hyperium/hyper/blob/master/src/header/internals/vec_map.rs /// Like `HashMap` but solely uses a vector instead. -/// +/// /// note: This is for internal use. #[derive(Clone, Debug, Default)] pub struct VecMap<K, V>(Vec<(K, V)>); @@ -117,4 +117,4 @@ impl<'a, K, V> OccupiedEntry<'a, K, V> { pub fn into_mut(self) -> &'a mut V { &mut self.vec[self.pos].1 } -}
\ No newline at end of file +} |