diff --git a/src/backup/datastore.rs b/src/backup/datastore.rs index 8c212ab1..9d052004 100644 --- a/src/backup/datastore.rs +++ b/src/backup/datastore.rs @@ -760,7 +760,7 @@ impl DataStore { } } -#[derive(Debug, Clone, Default)] +#[derive(Debug, Default)] /// Tracker for progress of operations iterating over `Datastore` contents. pub struct StoreProgress { /// Completed groups diff --git a/src/client/pull.rs b/src/client/pull.rs index 2555a14c..5403d873 100644 --- a/src/client/pull.rs +++ b/src/client/pull.rs @@ -462,7 +462,7 @@ pub async fn pull_group( let result = pull_snapshot_from(worker, reader, tgt_store.clone(), &snapshot, downloaded_chunks.clone()).await; progress.done_snapshots = pos as u64 + 1; - worker.log(format!("percentage done: {}", progress.clone())); + worker.log(format!("percentage done: {}", progress)); result?; // stop on error }