From f026ca8f806ff248254e57fbcbf1ee661533d86a Mon Sep 17 00:00:00 2001 From: John Nunley Date: Sun, 9 Jul 2023 15:17:03 -0700 Subject: [PATCH] Oopsie --- deny.toml | 1 + src/window.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/deny.toml b/deny.toml index db4f119fbcb..9c532135ad1 100644 --- a/deny.toml +++ b/deny.toml @@ -40,6 +40,7 @@ skip = [ { name = "num_enum"}, # See above ^, waiting for release { name = "num_enum_derive"},# See above ^, waiting for release { name = "miniz_oxide"}, # https://github.com/rust-lang/flate2-rs/issues/340 + { name = "raw-window-handle" }, # https://github.com/rust-windowing/raw-window-handle/issues/125, slow transition { name = "redox_syscall" }, # https://gitlab.redox-os.org/redox-os/orbclient/-/issues/46 ] skip-tree = [] diff --git a/src/window.rs b/src/window.rs index db2eefbcba5..e359c3d31c6 100644 --- a/src/window.rs +++ b/src/window.rs @@ -1372,7 +1372,7 @@ unsafe impl HasRawWindowHandle for Window { /// [`Event::Resumed`]: crate::event::Event::Resumed /// [`Event::Suspended`]: crate::event::Event::Suspended fn raw_window_handle(&self) -> Result { - Ok(self.window.raw_window_handle()) + self.window.raw_window_handle() } }