about summary refs log tree commit diff
path: root/src/libcore/send_map.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-09-07 14:50:47 -0700
committerBrian Anderson <banderson@mozilla.com>2012-09-07 16:12:15 -0700
commitf0eae8f1c19a051ab750383e479f979c32d4598a (patch)
treef4ac6cb0637579d32aeb3dc7d9174dc5a6b3efce /src/libcore/send_map.rs
parent3078830934ba5596e7eac86825636b49451e40e3 (diff)
Convert field terminators to commas. Stop parsing semis.
Diffstat (limited to 'src/libcore/send_map.rs')
-rw-r--r--src/libcore/send_map.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libcore/send_map.rs b/src/libcore/send_map.rs
index 8c805798327..3eb8e581cbc 100644
--- a/src/libcore/send_map.rs
+++ b/src/libcore/send_map.rs
@@ -30,16 +30,16 @@ mod linear {
 
     const initial_capacity: uint = 32u; // 2^5
     struct Bucket<K:Eq Hash,V> {
-        hash: uint;
-        key: K;
-        value: V;
+        hash: uint,
+        key: K,
+        value: V,
     }
     struct LinearMap<K:Eq Hash,V> {
-        k0: u64;
-        k1: u64;
-        resize_at: uint;
-        size: uint;
-        buckets: ~[Option<Bucket<K,V>>];
+        k0: u64,
+        k1: u64,
+        resize_at: uint,
+        size: uint,
+        buckets: ~[Option<Bucket<K,V>>],
     }
 
     // FIXME(#3148) -- we could rewrite found_entry