mirror of
https://git.proxmox.com/git/proxmox
synced 2025-04-29 23:30:11 +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 |