]> git.proxmox.com Git - proxmox.git/commit
clippy fix: calls to `drop` with a value that implements `Copy`
authorLukas Wagner <l.wagner@proxmox.com>
Tue, 8 Aug 2023 08:01:41 +0000 (10:01 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 8 Aug 2023 09:29:36 +0000 (11:29 +0200)
commitb4b186c5447589d453c2c49c3cf1b9f809b83c4a
treea0435670d7179a5a765d9a7438fb34e6a8909b1d
parentde6337ae6d572e68a2601a3ed943470301861f78
clippy fix: calls to `drop` with a value that implements `Copy`

Dropping a copy leaves the original intact

See:
https://rust-lang.github.io/rust-clippy/master/index.html#drop_copy

I assume the `drop` was used to silence a 'unused variable' warning,
so I silenced it by other means.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
proxmox-rest-server/src/connection.rs