add Copy trait to Progress types

This commit is contained in:
William Casarin committed 2021-06-23 08:31:55 -07:00
1 parent 2755b09e7b
commit 476fa3fd7d
1 file changed
+2 -2
+2 -2
View File
@@ -174,7 +174,7 @@ impl Progress for Sender<ProgressData> {
}
/// Type that implements [`Progress`] and drops every update received
#[derive(Clone)]
#[derive(Clone, Copy)]
pub struct NoopProgress;
/// Create a new instance of [`NoopProgress`]
@@ -189,7 +189,7 @@ impl Progress for NoopProgress {
}
/// Type that implements [`Progress`] and logs at level `INFO` every update received
#[derive(Clone)]
#[derive(Clone, Copy)]
pub struct LogProgress;
/// Create a nwe instance of [`LogProgress`]