Skip to content

Commit 556177b

Browse files
committed
Fix the type alias for deadpool's BuildError
1 parent 7f65389 commit 556177b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pooled_connection/deadpool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub type Pool<C> = deadpool::managed::Pool<AsyncDieselConnectionManager<C>>;
4747
/// Type alias for using [`deadpool::managed::PoolBuilder`] with [`diesel-async`]
4848
pub type PoolBuilder<C> = deadpool::managed::PoolBuilder<AsyncDieselConnectionManager<C>>;
4949
/// Type alias for using [`deadpool::managed::BuildError`] with [`diesel-async`]
50-
pub type BuildError = deadpool::managed::BuildError<PoolError>;
50+
pub type BuildError = deadpool::managed::BuildError<super::PoolError>;
5151
/// Type alias for using [`deadpool::managed::PoolError`] with [`diesel-async`]
5252
pub type PoolError = deadpool::managed::PoolError<super::PoolError>;
5353
/// Type alias for using [`deadpool::managed::Object`] with [`diesel-async`]

0 commit comments

Comments
 (0)