remove old snapshot workaround from smallintmap
This commit is contained in:
parent
bdfb930f34
commit
dab2f2fac0
1 changed files with 0 additions and 4 deletions
|
|
@ -116,8 +116,6 @@ pub impl<V> SmallIntMap<V> {
|
|||
}
|
||||
|
||||
pub impl<V: Copy> SmallIntMap<V> {
|
||||
// FIXME: #4733, remove after the next snapshot
|
||||
#[cfg(stage2)]
|
||||
fn update_with_key(&mut self, key: uint, val: V,
|
||||
ff: fn(uint, V, V) -> V) -> bool {
|
||||
match self.find(&key) {
|
||||
|
|
@ -126,8 +124,6 @@ pub impl<V: Copy> SmallIntMap<V> {
|
|||
}
|
||||
}
|
||||
|
||||
// FIXME: #4733, remove after the next snapshot
|
||||
#[cfg(stage2)]
|
||||
fn update(&mut self, key: uint, newval: V, ff: fn(V, V) -> V) -> bool {
|
||||
self.update_with_key(key, newval, |_k, v, v1| ff(v,v1))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue