We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dad78e commit c7a3d0eCopy full SHA for c7a3d0e
src/libcore/send_map.rs
@@ -295,8 +295,11 @@ mod linear {
295
fn find(&const self, k: &K) -> option<V> {
296
match self.bucket_for_key(self.buckets, k) {
297
FoundEntry(idx) => {
298
- match check self.buckets[idx] {
299
- some(bkt) => {some(copy bkt.value)}
+ // FIXME (#3148): Once we rewrite found_entry, this
+ // failure case won't be necessary
300
+ match self.buckets[idx] {
301
+ some(bkt) => {some(copy bkt.value)}
302
+ none => fail ~"LinearMap::find: internal logic error"
303
}
304
305
TableFull | FoundHole(_) => {
0 commit comments