Fix a few warnings

This commit is contained in:
Bat
2018-04-29 19:06:10 +01:00
parent 80472506ca
commit dd9e845e66
4 changed files with 4 additions and 8 deletions
-6
View File
@@ -12,11 +12,8 @@ extern crate dotenv;
extern crate openssl;
extern crate rocket;
extern crate rocket_contrib;
#[feature(custom_attribute)]
extern crate serde;
#[macro_use]
extern crate serde_derive;
#[macro_use]
extern crate serde_json;
use diesel::pg::PgConnection;
@@ -32,9 +29,6 @@ mod schema;
mod routes;
mod utils;
use db_conn::DbConn;
use models::instance::*;
type PgPool = Pool<ConnectionManager<PgConnection>>;
/// Initializes a database pool.