File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -223,9 +223,8 @@ pub trait DynProgress: Send + Sync + impls::Sealed {
223
223
/// An opaque type for storing [`DynProgress`].
224
224
pub struct BoxedDynProgress ( Box < dyn DynProgress > ) ;
225
225
226
- /// A bridge type that implements [`Progress`] for any type that implements
227
- /// [`DynProgress`].
228
- pub struct DynProgressToProgressBridge < T : ?Sized > ( T ) ;
226
+ /// A bridge type that implements [`Progress`] for any type that implements [`DynProgress`].
227
+ pub struct DynProgressToProgressBridge < T : ?Sized > ( pub T ) ;
229
228
230
229
/// A trait for describing non-hierarchical progress.
231
230
///
@@ -677,7 +676,7 @@ mod impls {
677
676
}
678
677
679
678
impl BoxedDynProgress {
680
- /// Create new boxed dyn Progress
679
+ /// Create new instance from a `DynProgress` implementation.
681
680
pub fn new ( progress : impl DynProgress + ' static ) -> Self {
682
681
Self ( Box :: new ( progress) )
683
682
}
You can’t perform that action at this time.
0 commit comments