]> git.proxmox.com Git - ui/proxmox-yew-comp.git/commit
tree wide: use `cloned()` instead of `map(|e| e.clone())`
authorShannon Sterz <s.sterz@proxmox.com>
Fri, 27 Dec 2024 10:37:11 +0000 (11:37 +0100)
committerShannon Sterz <s.sterz@proxmox.com>
Tue, 7 Jan 2025 09:08:29 +0000 (10:08 +0100)
commitf5f95ce2ecf0aa02ffee1b357659b70361dfce36
tree225de3ced9c3cbd01f685d45c86fb94b7e067f66
parent870b58071cb5b492320cb957ab07128a6175bb5b
tree wide: use `cloned()` instead of `map(|e| e.clone())`

this fixes the clippy lint `map_clone` [1].

[1]: https://rust-lang.github.io/rust-clippy/master/#map_clone
src/auth_view.rs
src/tfa/tfa_view.rs