app_async: fix Reader::new

This commit is contained in:
Dmitry Belyaev 2023-08-16 11:49:08 +03:00
parent feb2303db9
commit 33abc15268
Signed by: b4tman
GPG Key ID: 41A00BF15EA7E5F3

View File

@ -145,7 +145,7 @@ async fn main() {
}
async fn read_from_db(id: u32) -> Option<Question> {
let reader: async_db::Reader<Question> = async_db::Reader::new(NEW_DB_FILENAME, 2048)
let reader: async_db::Reader<Question> = async_db::Reader::new(NEW_DB_FILENAME)
.await
.expect("new db reader");