From d037c5fdbbe954459d40892aedd8245c1d666c6e Mon Sep 17 00:00:00 2001 From: Mark McCaskey Date: Fri, 22 Mar 2019 17:29:09 -0700 Subject: [PATCH] fmt --- lib/runtime-core/src/import.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/runtime-core/src/import.rs b/lib/runtime-core/src/import.rs index f764dc7b785..a8dbe72b4c1 100644 --- a/lib/runtime-core/src/import.rs +++ b/lib/runtime-core/src/import.rs @@ -139,7 +139,10 @@ impl Extend<(String, String, Export)> for ImportObject { let mut map = self.map.borrow_mut(); for (ns, id, exp) in iter.into_iter() { if let Some(like_ns) = map.get_mut(&ns) { - like_ns.maybe_insert(&id, exp).expect(&format!("Insert failed. Duplicate name {} found in namespace {}", id, ns)); + like_ns.maybe_insert(&id, exp).expect(&format!( + "Insert failed. Duplicate name {} found in namespace {}", + id, ns + )); } else { let mut new_ns = Namespace::new(); new_ns.insert(id, exp);