Skip to content

Commit bb263ea

Browse files
committed
nit: add newlines between MakeEntry methods
1 parent 33525bc commit bb263ea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/map.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1737,12 +1737,15 @@ struct MakeEntry;
17371737

17381738
impl<'a, Sz: Size, K: 'a, V: 'a> ProbeAction<'a, Sz, K, V> for MakeEntry {
17391739
type Output = Entry<'a, K, V>;
1740+
17401741
fn hit(self, entry: OccupiedEntry<'a, K, V>) -> Self::Output {
17411742
Entry::Occupied(entry)
17421743
}
1744+
17431745
fn empty(self, entry: VacantEntry<'a, K, V>) -> Self::Output {
17441746
Entry::Vacant(entry)
17451747
}
1748+
17461749
fn steal(self, entry: VacantEntry<'a, K, V>) -> Self::Output {
17471750
Entry::Vacant(entry)
17481751
}

0 commit comments

Comments
 (0)