diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-09-07 14:50:47 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-07 16:12:15 -0700 |
| commit | f0eae8f1c19a051ab750383e479f979c32d4598a (patch) | |
| tree | f4ac6cb0637579d32aeb3dc7d9174dc5a6b3efce /src/libstd/map.rs | |
| parent | 3078830934ba5596e7eac86825636b49451e40e3 (diff) | |
| download | rust-f0eae8f1c19a051ab750383e479f979c32d4598a.tar.gz rust-f0eae8f1c19a051ab750383e479f979c32d4598a.zip | |
Convert field terminators to commas. Stop parsing semis.
Diffstat (limited to 'src/libstd/map.rs')
| -rw-r--r-- | src/libstd/map.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libstd/map.rs b/src/libstd/map.rs index c7eba5bb8eb..3db1c3407df 100644 --- a/src/libstd/map.rs +++ b/src/libstd/map.rs @@ -113,17 +113,17 @@ mod chained { const initial_capacity: uint = 32u; // 2^5 struct entry<K, V> { - hash: uint; - key: K; - value: V; - mut next: Option<@entry<K, V>>; + hash: uint, + key: K, + value: V, + mut next: Option<@entry<K, V>> } struct hashmap_<K, V> { - mut count: uint; - mut chains: ~[mut Option<@entry<K,V>>]; - hasher: hashfn<K>; - eqer: eqfn<K>; + mut count: uint, + mut chains: ~[mut Option<@entry<K,V>>], + hasher: hashfn<K>, + eqer: eqfn<K> } type t<K, V> = @hashmap_<K, V>; |
