From fb38e8fd9ba849860e301a68cdd262b286c05711 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 9 Oct 2022 17:47:07 +0200 Subject: Format code --- src/db/mod.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/db') diff --git a/src/db/mod.rs b/src/db/mod.rs index f59aad5..c2749dc 100644 --- a/src/db/mod.rs +++ b/src/db/mod.rs @@ -57,13 +57,7 @@ pub fn synchronize(conn: &Connection, entries: Vec) -> Result<()> { Ok(()) } -fn insert( - conn: &Connection, - now: u64, - question: &str, - responses: &str, - state: &str, -) -> Result<()> { +fn insert(conn: &Connection, now: u64, question: &str, responses: &str, state: &str) -> Result<()> { conn.execute( " INSERT INTO cards (question, responses, state, created, deck_read, ready) -- cgit v1.2.3