Skip to content

Commit 6358fbe

Browse files
authored
Merge pull request #30 from fluxxu/main
Fix the type alias for deadpool's `BuildError`
2 parents b9ad3ad + 556177b commit 6358fbe

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
@@ -48,7 +48,7 @@ pub type Pool<C> = deadpool::managed::Pool<AsyncDieselConnectionManager<C>>;
4848
/// Type alias for using [`deadpool::managed::PoolBuilder`] with [`diesel-async`]
4949
pub type PoolBuilder<C> = deadpool::managed::PoolBuilder<AsyncDieselConnectionManager<C>>;
5050
/// Type alias for using [`deadpool::managed::BuildError`] with [`diesel-async`]
51-
pub type BuildError = deadpool::managed::BuildError<PoolError>;
51+
pub type BuildError = deadpool::managed::BuildError<super::PoolError>;
5252
/// Type alias for using [`deadpool::managed::PoolError`] with [`diesel-async`]
5353
pub type PoolError = deadpool::managed::PoolError<super::PoolError>;
5454
/// Type alias for using [`deadpool::managed::Object`] with [`diesel-async`]

0 commit comments

Comments
 (0)