From: Christoph Heiss Date: Fri, 3 Nov 2023 09:49:37 +0000 (+0100) Subject: tui: fix clippy warning X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=57161139109f948a671cd78ed57df7ee5c8872ff;p=pve-installer.git tui: fix clippy warning Signed-off-by: Christoph Heiss --- diff --git a/proxmox-tui-installer/src/main.rs b/proxmox-tui-installer/src/main.rs index 3216868..2e5a194 100644 --- a/proxmox-tui-installer/src/main.rs +++ b/proxmox-tui-installer/src/main.rs @@ -505,7 +505,7 @@ fn network_dialog(siv: &mut Cursive) -> InstallerView { ifaces_selection.set_selection( ifnames .clone() - .position(|iface| &iface.1 == &options.ifname) + .position(|iface| iface.1 == options.ifname) .unwrap_or(ifaces.len() - 1), );