From 7a49c88200fe2a9559c8cc9098f38e209567f691 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Sat, 1 Aug 2020 23:10:33 +0000 Subject: [PATCH] Fix with_fullscreen signature --- src/window.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/window.rs b/src/window.rs index d6b55830..a00cd7c0 100644 --- a/src/window.rs +++ b/src/window.rs @@ -251,8 +251,8 @@ impl WindowBuilder { /// /// [`Window::set_fullscreen`]: crate::window::Window::set_fullscreen #[inline] - pub fn with_fullscreen(mut self, monitor: Option) -> Self { - self.window.fullscreen = monitor; + pub fn with_fullscreen(mut self, fullscreen: Option) -> Self { + self.window.fullscreen = fullscreen; self }