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)?;