@@ -731,7 +731,7 @@ impl<'s, T, H> ConnectBuilder<'s, T, H> {
731731 }
732732 }
733733
734- /// Configures this [`ConnectBuilder`] to return the [`tokio ::task::JoinHandle`] that is
734+ /// Configures this [`ConnectBuilder`] to return the [`mz_ore ::task::JoinHandle`] that is
735735 /// polling the underlying postgres connection, associated with the returned client.
736736 pub fn with_handle ( self ) -> ConnectBuilder < ' s , T , WithHandle > {
737737 ConnectBuilder {
@@ -750,37 +750,37 @@ impl<'s, T, H> ConnectBuilder<'s, T, H> {
750750 }
751751}
752752
753- /// This trait enables us to either include or omit the [`tokio ::task::JoinHandle`] in the result
753+ /// This trait enables us to either include or omit the [`mz_ore ::task::JoinHandle`] in the result
754754/// of a client connection.
755755pub trait IncludeHandle : Send {
756756 type Output ;
757757 fn transform_result (
758758 client : tokio_postgres:: Client ,
759- handle : tokio :: task:: JoinHandle < ( ) > ,
759+ handle : mz_ore :: task:: JoinHandle < ( ) > ,
760760 ) -> Self :: Output ;
761761}
762762
763- /// Type parameter that denotes we __will not__ return the [`tokio ::task::JoinHandle`] in the
763+ /// Type parameter that denotes we __will not__ return the [`mz_ore ::task::JoinHandle`] in the
764764/// result of a [`ConnectBuilder`].
765765pub struct NoHandle ;
766766impl IncludeHandle for NoHandle {
767767 type Output = tokio_postgres:: Client ;
768768 fn transform_result (
769769 client : tokio_postgres:: Client ,
770- _handle : tokio :: task:: JoinHandle < ( ) > ,
770+ _handle : mz_ore :: task:: JoinHandle < ( ) > ,
771771 ) -> Self :: Output {
772772 client
773773 }
774774}
775775
776- /// Type parameter that denotes we __will__ return the [`tokio ::task::JoinHandle`] in the result of
776+ /// Type parameter that denotes we __will__ return the [`mz_ore ::task::JoinHandle`] in the result of
777777/// a [`ConnectBuilder`].
778778pub struct WithHandle ;
779779impl IncludeHandle for WithHandle {
780- type Output = ( tokio_postgres:: Client , tokio :: task:: JoinHandle < ( ) > ) ;
780+ type Output = ( tokio_postgres:: Client , mz_ore :: task:: JoinHandle < ( ) > ) ;
781781 fn transform_result (
782782 client : tokio_postgres:: Client ,
783- handle : tokio :: task:: JoinHandle < ( ) > ,
783+ handle : mz_ore :: task:: JoinHandle < ( ) > ,
784784 ) -> Self :: Output {
785785 ( client, handle)
786786 }
0 commit comments