1
0
mirror of https://github.com/actix/examples synced 2025-01-22 22:05:57 +01:00

Merge pull request #17 from Dowwie/master

removed unnecessary "use actix_web::*;" import from db.rs
This commit is contained in:
Nikolay Kim 2018-06-01 08:57:06 -07:00 committed by GitHub
commit 32287e37bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,4 @@
use actix::prelude::*;
use actix_web::*;
use std::{time::Duration, thread::sleep};
use failure::Error;
use r2d2;
@ -133,4 +132,4 @@ fn get_coldest_months(conn: Connection) -> Result<Vec<WeatherAgg>, Error> {
sleep(Duration::from_secs(2));
Ok(annuals)
}
}