diff options
author | Joris | 2022-10-09 17:47:07 +0200 |
---|---|---|
committer | Joris | 2022-10-09 17:47:07 +0200 |
commit | fb38e8fd9ba849860e301a68cdd262b286c05711 (patch) | |
tree | 820811f412d8dd472a22d787a95bd9c6f6886253 /src/db | |
parent | 76e841c740701c46969cf8cfeab94dc3cef65d9a (diff) |
Format code
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/mod.rs | 8 |
1 files changed, 1 insertions, 7 deletions
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<Entry>) -> 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) |