Skip to content

Commit dab2f2f

Browse files
committed
remove old snapshot workaround from smallintmap
1 parent bdfb930 commit dab2f2f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/libstd/smallintmap.rs

-4
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ pub impl<V> SmallIntMap<V> {
116116
}
117117

118118
pub impl<V: Copy> SmallIntMap<V> {
119-
// FIXME: #4733, remove after the next snapshot
120-
#[cfg(stage2)]
121119
fn update_with_key(&mut self, key: uint, val: V,
122120
ff: fn(uint, V, V) -> V) -> bool {
123121
match self.find(&key) {
@@ -126,8 +124,6 @@ pub impl<V: Copy> SmallIntMap<V> {
126124
}
127125
}
128126

129-
// FIXME: #4733, remove after the next snapshot
130-
#[cfg(stage2)]
131127
fn update(&mut self, key: uint, newval: V, ff: fn(V, V) -> V) -> bool {
132128
self.update_with_key(key, newval, |_k, v, v1| ff(v,v1))
133129
}

0 commit comments

Comments
 (0)