datastore: clippy fixes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2022-05-25 18:01:23 +02:00
parent abd8248520
commit bc001e12e2
2 changed files with 8 additions and 7 deletions

View File

@ -60,8 +60,7 @@ impl SnapshotReader {
let mut client_log_path = snapshot_path;
client_log_path.push(CLIENT_LOG_BLOB_NAME);
let mut file_list = Vec::new();
file_list.push(MANIFEST_BLOB_NAME.to_string());
let mut file_list = vec![MANIFEST_BLOB_NAME.to_string()];
for item in manifest.files() {
file_list.push(item.filename.clone());
}