Fix clippy warnings
This commit is contained in:
parent
ab8fec21b3
commit
af6665fe4f
@ -3,7 +3,10 @@ use crate::{
|
||||
StatementBuilder, TransactionError,
|
||||
};
|
||||
use sea_query::{MysqlQueryBuilder, PostgresQueryBuilder, QueryBuilder, SqliteQueryBuilder};
|
||||
use std::{future::Future, pin::Pin, sync::Arc};
|
||||
use std::{future::Future, pin::Pin};
|
||||
|
||||
#[cfg(feature = "mock")]
|
||||
use std::sync::Arc;
|
||||
|
||||
#[cfg_attr(not(feature = "mock"), derive(Clone))]
|
||||
pub enum DatabaseConnection {
|
||||
|
@ -1,4 +1,7 @@
|
||||
use std::{pin::Pin, sync::Arc, task::Poll};
|
||||
use std::{pin::Pin, task::Poll};
|
||||
|
||||
#[cfg(feature = "mock")]
|
||||
use std::sync::Arc;
|
||||
|
||||
use futures::Stream;
|
||||
#[cfg(feature = "sqlx-dep")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user