mirror of
https://github.com/edu4rdshl/rusnapshot.git
synced 2026-07-17 23:24:55 +00:00
(chore): clippy fix.
This commit is contained in:
parent
0b117ac07c
commit
5e1a3e7115
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ pub fn keep_only_x(args: &mut Args, extra_args: &mut ExtraArgs) -> Result<()> {
|
||||||
|
|
||||||
for data in &snaps_data {
|
for data in &snaps_data {
|
||||||
extra_args.snapshot_name = data.destination.clone() + &data.name;
|
extra_args.snapshot_name = data.destination.clone() + &data.name;
|
||||||
args.snapshot_id = data.snap_id.clone();
|
args.snapshot_id.clone_from(&data.snap_id);
|
||||||
|
|
||||||
manage_deletion(args, extra_args)?;
|
manage_deletion(args, extra_args)?;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue