From b3f23bbf4a09de5e6407b02db09dae1d1885dd11 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 1 Dec 2019 13:35:34 -0800 Subject: [PATCH] fixup some build and test warnings --- src/mux/window.rs | 4 ---- window/src/os/wayland/mod.rs | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/mux/window.rs b/src/mux/window.rs index ace85d53a..c3d871876 100644 --- a/src/mux/window.rs +++ b/src/mux/window.rs @@ -27,10 +27,6 @@ impl Window { self.clipboard.replace(Arc::clone(clipboard)); } - pub fn get_clipboard(&self) -> Option<&Arc> { - self.clipboard.as_ref() - } - pub fn window_id(&self) -> WindowId { self.id } diff --git a/window/src/os/wayland/mod.rs b/window/src/os/wayland/mod.rs index 0122caabf..76ee28928 100644 --- a/window/src/os/wayland/mod.rs +++ b/window/src/os/wayland/mod.rs @@ -3,7 +3,7 @@ pub mod connection; pub mod window; pub use connection::*; -pub use window::*; +pub use self::window::*; mod copy_and_paste; mod keyboard; mod pointer;