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