From 9acc6f85f0ce16c90c4d2aba6f003fb4125a4e9d Mon Sep 17 00:00:00 2001 From: gwenn Date: Sun, 28 Nov 2021 09:41:54 +0000 Subject: [PATCH] Rustfmt --- src/column.rs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/column.rs b/src/column.rs index 42abe1c..94663e6 100644 --- a/src/column.rs +++ b/src/column.rs @@ -165,10 +165,17 @@ mod test { column_names.as_slice(), &["type", "name", "tbl_name", "rootpage", "sql"] ); - let column_types: Vec> = columns.iter().map(|col| col.decl_type().map(str::to_lowercase)).collect(); + let column_types: Vec> = columns + .iter() + .map(|col| col.decl_type().map(str::to_lowercase)) + .collect(); assert_eq!( &column_types[..3], - &[Some("text".to_owned()), Some("text".to_owned()), Some("text".to_owned()),] + &[ + Some("text".to_owned()), + Some("text".to_owned()), + Some("text".to_owned()), + ] ); Ok(()) }