aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris2022-02-06 19:48:14 +0100
committerJoris2022-02-06 19:48:14 +0100
commita2ba205df12332a360d89991fe508f964d88c73f (patch)
tree2214adee830801bdbe72d71a2e64738fbee1fd44
parent3b6ceec4c5425d2741af7bff1fdad385f04e250f (diff)
downloadflashcards-a2ba205df12332a360d89991fe508f964d88c73f.tar.gz
flashcards-a2ba205df12332a360d89991fe508f964d88c73f.tar.bz2
flashcards-a2ba205df12332a360d89991fe508f964d88c73f.zip
fixup! Replace a card whenever the front or the back changed
-rw-r--r--src/db/db.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/db/db.rs b/src/db/db.rs
index 843d142..9ed88ce 100644
--- a/src/db/db.rs
+++ b/src/db/db.rs
@@ -56,7 +56,6 @@ fn insert(
responses: &String,
state: &String,
) -> Result<()> {
- println!("insert {} : {}", question, responses);
// Subtract a random amount of time so that cards are not initially given in the same order as
// in the deck
let ready_sub: u64 = rng.gen_range(0..100);