Skip to content

Commit

Permalink
remove old snapshot workaround from smallintmap
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Feb 6, 2013
1 parent bdfb930 commit dab2f2f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/libstd/smallintmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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))
}
Expand Down

5 comments on commit dab2f2f

@bors
Copy link
Contributor

@bors bors commented on dab2f2f Feb 7, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on dab2f2f Feb 7, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging thestinger/rust/treemap = dab2f2f into auto

@bors
Copy link
Contributor

@bors bors commented on dab2f2f Feb 7, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thestinger/rust/treemap = dab2f2f merged ok, testing candidate = 951ad11

@bors
Copy link
Contributor

@bors bors commented on dab2f2f Feb 7, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on dab2f2f Feb 7, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding incoming to auto = 951ad11

Please sign in to comment.