delete counter example

This commit is contained in:
Bevan Hunt 2019-12-16 10:55:49 -08:00
parent ff0cc061c3
commit d2a6c6ca68
1 changed files with 0 additions and 2 deletions

View File

@ -37,8 +37,6 @@ async fn download(data: web::Data<MyData>, broad: web::Data<std::sync::Mutex<Bro
async fn index(data: web::Data<MyData>) -> impl Responder {
// let content = include_str!("index.html");
let counter_buffer = data.db.get(b"counter").unwrap().unwrap();
let counter = std::str::from_utf8(&counter_buffer).unwrap();