]> git.proxmox.com Git - ui/proxmox-yew-comp.git/commit
running tasks btton: match result directly
authorShannon Sterz <s.sterz@proxmox.com>
Fri, 27 Dec 2024 14:38:37 +0000 (15:38 +0100)
committerShannon Sterz <s.sterz@proxmox.com>
Tue, 7 Jan 2025 09:08:29 +0000 (10:08 +0100)
commitdc61d6d6cf62f175809b25c950b9f585702c57b1
treeb75e5830de47ccfe87dc4c13c8c302e303ed0301
parent220d88084bdc0c54c8dd4fc65ca05ff15a84e4c7
running tasks btton: match result directly

instead of converting to an Option an then matching. this fixes the
`match_result_ok` clippy lint [1].

[1]: https://rust-lang.github.io/rust-clippy/master/#match_result_ok
src/running_tasks_button.rs