From 7de33bca404057f6cab0901cceba7ebd64b55cde Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Sat, 21 Oct 2023 05:13:58 +0100 Subject: [PATCH] Fix rwhd_05 doc links --- src/event_loop.rs | 4 ++-- src/window.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/event_loop.rs b/src/event_loop.rs index ac2b6c9d81..3d334a79b6 100644 --- a/src/event_loop.rs +++ b/src/event_loop.rs @@ -258,7 +258,7 @@ impl rwh_06::HasDisplayHandle for EventLoop { #[cfg(feature = "rwh_05")] unsafe impl rwh_05::HasRawDisplayHandle for EventLoop { - /// Returns a [`raw_window_handle::RawDisplayHandle`] for the event loop. + /// Returns a [`rwh_05::RawDisplayHandle`] for the event loop. fn raw_display_handle(&self) -> rwh_05::RawDisplayHandle { rwh_05::HasRawDisplayHandle::raw_display_handle(&**self) } @@ -375,7 +375,7 @@ impl rwh_06::HasDisplayHandle for EventLoopWindowTarget { #[cfg(feature = "rwh_05")] unsafe impl rwh_05::HasRawDisplayHandle for EventLoopWindowTarget { - /// Returns a [`raw_window_handle::RawDisplayHandle`] for the event loop. + /// Returns a [`rwh_05::RawDisplayHandle`] for the event loop. fn raw_display_handle(&self) -> rwh_05::RawDisplayHandle { self.p.raw_display_handle_rwh_05() } diff --git a/src/window.rs b/src/window.rs index 5c79df482c..3352abbadd 100644 --- a/src/window.rs +++ b/src/window.rs @@ -1556,7 +1556,7 @@ unsafe impl rwh_05::HasRawWindowHandle for Window { #[cfg(feature = "rwh_05")] unsafe impl rwh_05::HasRawDisplayHandle for Window { - /// Returns a [`raw_window_handle::RawDisplayHandle`] used by the [`EventLoop`] that + /// Returns a [`rwh_05::RawDisplayHandle`] used by the [`EventLoop`] that /// created a window. /// /// [`EventLoop`]: crate::event_loop::EventLoop