From 92eed4c87040db3253cf7fdfb4935d8dc97c8942 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 14 Sep 2024 10:48:14 -0700 Subject: [PATCH] simplify --- window/src/os/wayland/copy_and_paste.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/window/src/os/wayland/copy_and_paste.rs b/window/src/os/wayland/copy_and_paste.rs index 6b9b9d22d76..ce309fbd3cb 100644 --- a/window/src/os/wayland/copy_and_paste.rs +++ b/window/src/os/wayland/copy_and_paste.rs @@ -101,7 +101,6 @@ impl CopyAndPaste { impl WaylandState { pub(super) fn resolve_copy_and_paste(&mut self) -> Option>> { - let active_surface_id = self.active_surface_id.borrow(); let active_surface_id = self.active_surface_id.borrow(); let active_surface_id = active_surface_id.as_ref()?; let pending = self.surface_to_pending.get(&active_surface_id)?;