remove debug prints
This commit is contained in:
parent
2c3950ccfc
commit
daf41625ff
@ -158,14 +158,9 @@ async fn read_from_db(id: u32) -> Option<Question> {
|
|||||||
id as usize - 1
|
id as usize - 1
|
||||||
};
|
};
|
||||||
|
|
||||||
println!("{}", &index); // DEBUG
|
|
||||||
|
|
||||||
match reader.get(index).await {
|
match reader.get(index).await {
|
||||||
Ok(question) => Some(question),
|
Ok(question) => Some(question),
|
||||||
Err(e) => {
|
Err(_) => None
|
||||||
println!("{:#?}", e); // DEBUG
|
|
||||||
None
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
async fn write_db() {
|
async fn write_db() {
|
||||||
|
Loading…
Reference in New Issue
Block a user