From 279c23640160aa93d54c4a7562803e42e3fb5f48 Mon Sep 17 00:00:00 2001 From: kirbylife Date: Sun, 15 Dec 2019 19:11:12 -0600 Subject: [PATCH] used the crate extern --- src/controllers.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/controllers.rs b/src/controllers.rs index cb29ddb..f8cc464 100644 --- a/src/controllers.rs +++ b/src/controllers.rs @@ -3,12 +3,12 @@ pub mod models; #[path = "schema.rs"] pub mod schema; -use crate::diesel::Connection; -use crate::diesel::ExpressionMethods; -use crate::diesel::QueryDsl; -use crate::diesel::RunQueryDsl; use diesel::pg::PgConnection; use diesel::result::Error; +use diesel::Connection; +use diesel::ExpressionMethods; +use diesel::QueryDsl; +use diesel::RunQueryDsl; use dotenv::dotenv; use std::env; use std::vec::Vec;