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:
commit
32287e37bc
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user