Skip to content

Commit 8225a8b

Browse files
committed
Format with rustfmt 1.4.30-nightly
1 parent e63aedb commit 8225a8b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎src/value/from.rs‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,11 @@ impl<K: Into<String>, V: Into<Value>> FromIterator<(K, V)> for Value {
243243
/// let x: Value = v.into_iter().collect();
244244
/// ```
245245
fn from_iter<I: IntoIterator<Item = (K, V)>>(iter: I) -> Self {
246-
Value::Object(iter.into_iter().map(|(k, v)| (k.into(), v.into())).collect())
246+
Value::Object(
247+
iter.into_iter()
248+
.map(|(k, v)| (k.into(), v.into()))
249+
.collect(),
250+
)
247251
}
248252
}
249253

0 commit comments

Comments
 (0)