From 7d3ff3d2d977ae3ba25f7a0cf0c0321e2319e758 Mon Sep 17 00:00:00 2001 From: Felix Rabe Date: Sat, 6 Jul 2019 19:28:50 +0200 Subject: [PATCH] Fix warning (#1016) --- src/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.rs b/src/window.rs index 3c452eef..dfde6713 100644 --- a/src/window.rs +++ b/src/window.rs @@ -288,7 +288,7 @@ impl WindowBuilder { /// Possible causes of error include denied permission, incompatible system, and lack of memory. #[inline] pub fn build( - mut self, + self, window_target: &EventLoopWindowTarget, ) -> Result { // building