Skip to content

Commit 40d8eb8

Browse files
committed
fix: rustfmt formatting in describe.rs
1 parent e823ea5 commit 40d8eb8

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

sqlx-sqlite/src/connection/describe.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,7 @@ fn validate_insert_statement(conn: &mut ConnectionState, query: &str) -> Result<
205205
let required_cols = all_columns
206206
.iter()
207207
.filter(|col| {
208-
col.not_null
209-
&& col.dflt_value.is_none()
210-
&& !(col.pk && col.type_info.contains("INT"))
208+
col.not_null && col.dflt_value.is_none() && !(col.pk && col.type_info.contains("INT"))
211209
})
212210
.collect::<Vec<_>>();
213211

0 commit comments

Comments
 (0)