mirror of
https://git.proxmox.com/git/proxmox
synced 2026-03-24 07:26:43 +00:00
The `new_args` Vec is directly passed to the other Vec's `.extend()`, which takes an `IntoIterator` consuming it, so just pass the intermediate `Iterator`. The `rest` Vec owns its strings and we don't need it afterwards, so similarly, we can consume it via `.extend()` instead of a manual push(s.clone()) loop. The .truncate(0) can just be .clear() - they are equivalent according to their documentation. Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> |
||
|---|---|---|
| .. | ||
| debian | ||
| src | ||
| tests | ||
| Cargo.toml | ||