Skip to content

Commit 967ea46

Browse files
committed
Relax bound of Progress, Count impl for DynNestedProgressToNestedProgress
Signed-off-by: Jiahao XU <[email protected]>
1 parent 7eb69ac commit 967ea46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/traits.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ mod impls {
530530

531531
impl<T> Progress for DynNestedProgressToNestedProgress<T>
532532
where
533-
T: ?Sized + DynNestedProgress,
533+
T: ?Sized + Progress,
534534
{
535535
fn init(&mut self, max: Option<Step>, unit: Option<Unit>) {
536536
self.0.init(max, unit)
@@ -575,7 +575,7 @@ mod impls {
575575

576576
impl<T> Count for DynNestedProgressToNestedProgress<T>
577577
where
578-
T: ?Sized + DynNestedProgress,
578+
T: ?Sized + Count,
579579
{
580580
fn set(&self, step: Step) {
581581
self.0.set(step)

0 commit comments

Comments
 (0)