[pve-devel] applied: [PATCH proxmox-firewall v4 08/18] use std::mem::take over drain()
Thomas Lamprecht
t.lamprecht at proxmox.com
Sun Nov 17 15:19:11 CET 2024
Am 15.11.24 um 13:10 schrieb Stefan Hanreich:
> This is more efficient than draining and collecting the Vec. It also
> fixes the respective clippy lint.
It's well deserved to comment this, but I find it slightly interestingly that
one of the more trivial changes gets the honor of an actual message ;-)
>
> Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
> Reviewed-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
> ---
> proxmox-firewall/src/rule.rs | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
applied, thanks!
More information about the pve-devel
mailing list