aboutsummaryrefslogtreecommitdiff
path: root/test-suite/tests/tables-last.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2019-05-09 06:49:11 -0700
committerGitHub <noreply@github.com>2019-05-09 06:49:11 -0700
commite887edc70f0341cfbf37f646b6213d6fb6e00439 (patch)
tree63e2a9104a1c0ed297edd2ae41bd4536fde2ce0d /test-suite/tests/tables-last.rs
parent320464be3b014deaaf9387583862b1d4a69d89f8 (diff)
parent0fca4dd2d30a2044af454cf55211e67cf76f333c (diff)
downloadmilf-rs-e887edc70f0341cfbf37f646b6213d6fb6e00439.tar.gz
milf-rs-e887edc70f0341cfbf37f646b6213d6fb6e00439.zip
Merge pull request #308 from ehuss/edition-2018
Migrate to 2018 edition
Diffstat (limited to 'test-suite/tests/tables-last.rs')
-rw-r--r--test-suite/tests/tables-last.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/test-suite/tests/tables-last.rs b/test-suite/tests/tables-last.rs
index d05c8f0..b885a42 100644
--- a/test-suite/tests/tables-last.rs
+++ b/test-suite/tests/tables-last.rs
@@ -19,7 +19,9 @@ enum Value {
#[test]
fn always_works() {
- let mut a = A { vals: HashMap::new() };
+ let mut a = A {
+ vals: HashMap::new(),
+ };
a.vals.insert("foo", Value::Int(0));
let mut sub = HashMap::new();