diff options
| author | kennytm <kennytm@gmail.com> | 2018-11-07 18:02:05 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-11-07 21:27:00 +0800 |
| commit | 9d9146ad957494821aa3d54aedf4dbcb6c3b7cea (patch) | |
| tree | ca62a9b11c4a34f8ca15040e97fdd144e58d075b /src/libstd/collections | |
| parent | e222d1db3c0fc437a7e44af7a44d3e8628cc875a (diff) | |
| parent | eca11b99a7d25e4e6573472a16537c1aacb5d5e1 (diff) | |
Rollup merge of #55734 - teresy:shorthand-fields, r=davidtwco
refactor: use shorthand fields refactor: use shorthand for single fields everywhere (excluding tests).
Diffstat (limited to 'src/libstd/collections')
| -rw-r--r-- | src/libstd/collections/hash/map.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs index aea4522892c..8de415e8aed 100644 --- a/src/libstd/collections/hash/map.rs +++ b/src/libstd/collections/hash/map.rs @@ -3418,7 +3418,7 @@ mod test_map { slot.borrow_mut()[k] += 1; }); - Droppable { k: k } + Droppable { k } } } |
