src/backup/manifest.rs: rename into_string -> to_string

And do not consume self.
This commit is contained in:
Dietmar Maurer
2020-07-09 11:28:05 +02:00
parent 8b2ad84a25
commit dfa517ad6c
2 changed files with 3 additions and 3 deletions

View File

@ -1082,7 +1082,7 @@ async fn create_backup(
// create manifest (index.json)
// manifests are never encrypted, but include a signature
let manifest = manifest.into_string(crypt_config.as_ref().map(Arc::as_ref))
let manifest = manifest.to_string(crypt_config.as_ref().map(Arc::as_ref))
.map_err(|err| format_err!("unable to format manifest - {}", err))?;