diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-08-06 17:14:32 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-08-07 12:23:43 -0700 |
| commit | 2772b2e5c7f85e230bcae13c49eb1386afc6cd0e (patch) | |
| tree | 6161076f339dc2adeffcfbc8bcb6e86882b7b16d /src/libcore/send_map.rs | |
| parent | abf4421e7c2fce4e768eb20c126989501081f4f9 (diff) | |
syntax: Make match arm parsing more restrictive again
Require comma separators for all expression types except the plain block
Diffstat (limited to 'src/libcore/send_map.rs')
| -rw-r--r-- | src/libcore/send_map.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/send_map.rs b/src/libcore/send_map.rs index 04dc25a2c11..e865bac41ed 100644 --- a/src/libcore/send_map.rs +++ b/src/libcore/send_map.rs @@ -118,7 +118,7 @@ mod linear { match buckets[i] { some(bkt) => if bkt.hash == hash && self.eqfn(k, &bkt.key) { return found_entry(i); - } + }, none => return found_hole(i) } }; |
