app_async: fix Reader::new
This commit is contained in:
		@@ -145,7 +145,7 @@ async fn main() {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
async fn read_from_db(id: u32) -> Option<Question> {
 | 
					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
 | 
					        .await
 | 
				
			||||||
        .expect("new db reader");
 | 
					        .expect("new db reader");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user