diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-06-14 10:48:36 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-06-19 11:37:10 +0300 |
commit | 40e4db6600d53a8bb231f9629173fa4fc3b4437e (patch) | |
tree | 86cb8057e966fae8eec2a494cf835a9f266bebe0 /src/cmd/restore.rs | |
parent | c7c651ca34af0f99e64ef4b65911a294078fb9ab (diff) | |
download | obnam2-40e4db6600d53a8bb231f9629173fa4fc3b4437e.tar.gz |
chore: bump dependency on indicatif to 0.16, and fix what's needed
Change calls to set_message to pass ownership of the message, rather
than just letting it borrow the message.
Sponsored-by: author
Diffstat (limited to 'src/cmd/restore.rs')
-rw-r--r-- | src/cmd/restore.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/restore.rs b/src/cmd/restore.rs index 3c5b896..0e349c2 100644 --- a/src/cmd/restore.rs +++ b/src/cmd/restore.rs @@ -129,7 +129,7 @@ fn restore_generation( progress: &ProgressBar, ) -> RestoreResult<()> { info!("restoring {:?}", entry); - progress.set_message(&format!("{}", entry.pathbuf().display())); + progress.set_message(format!("{}", entry.pathbuf().display())); progress.inc(1); let to = restored_path(entry, to)?; |