From f3ab9f4e46fb03a5fb8eddf8aa36599791bfe8f0 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Fri, 22 Oct 2021 00:18:37 +0300 Subject: [PATCH] chore: remove unused error mod --- src/asyn.rs | 2 -- src/bb8_postgres.rs | 1 - src/r2d2_sqlite.rs | 1 - src/syn.rs | 2 -- 4 files changed, 6 deletions(-) diff --git a/src/asyn.rs b/src/asyn.rs index cd9322b..4ce85f7 100644 --- a/src/asyn.rs +++ b/src/asyn.rs @@ -1,5 +1,3 @@ -use crate::error; - /// The pool is one of the main features to be realized in persistence. /// /// Any implementation (database, file storage, memory or others) must be able to get a connection diff --git a/src/bb8_postgres.rs b/src/bb8_postgres.rs index d2460a5..81f8d7a 100644 --- a/src/bb8_postgres.rs +++ b/src/bb8_postgres.rs @@ -1,7 +1,6 @@ #[cfg(feature = "nightly")] use crate::asyn::TransactionClient; use crate::asyn::{ConnectionClient, PersistencePool}; -use crate::error; pub use bb8::{Pool, PooledConnection}; pub use bb8_postgres::tokio_postgres; diff --git a/src/r2d2_sqlite.rs b/src/r2d2_sqlite.rs index 42b37c8..85dc7e4 100644 --- a/src/r2d2_sqlite.rs +++ b/src/r2d2_sqlite.rs @@ -1,4 +1,3 @@ -use crate::error; #[cfg(feature = "nightly")] use crate::syn::TransactionClient; use crate::syn::{ConnectionClient, PersistencePool}; diff --git a/src/syn.rs b/src/syn.rs index 0691c8d..07edc3e 100644 --- a/src/syn.rs +++ b/src/syn.rs @@ -1,5 +1,3 @@ -use crate::error; - /// The pool is one of the main features to be realized in persistence. /// /// Any implementation (database, file storage, memory or others) must be able to get a connection