From 9b03bb727676db12127251fa1e8d3d4d91359a1c Mon Sep 17 00:00:00 2001 From: daxpedda Date: Fri, 22 Dec 2023 21:46:00 +0100 Subject: [PATCH] Fix some doc nits (#3274) --- src/window.rs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/window.rs b/src/window.rs index 87531e8ad8..58b7705941 100644 --- a/src/window.rs +++ b/src/window.rs @@ -1475,10 +1475,6 @@ impl Window { /// Returns the monitor on which the window currently resides. /// /// Returns `None` if current monitor can't be detected. - /// - /// ## Platform-specific - /// - /// **iOS:** Can only be called on the main thread. #[inline] pub fn current_monitor(&self) -> Option { self.window @@ -1489,10 +1485,6 @@ impl Window { /// /// This is the same as [`EventLoopWindowTarget::available_monitors`], and is provided for convenience. /// - /// ## Platform-specific - /// - /// **iOS:** Can only be called on the main thread. - /// /// [`EventLoopWindowTarget::available_monitors`]: crate::event_loop::EventLoopWindowTarget::available_monitors #[inline] pub fn available_monitors(&self) -> impl Iterator { @@ -1511,8 +1503,7 @@ impl Window { /// /// ## Platform-specific /// - /// **iOS:** Can only be called on the main thread. - /// **Wayland:** Always returns `None`. + /// **Wayland / Web:** Always returns `None`. /// /// [`EventLoopWindowTarget::primary_monitor`]: crate::event_loop::EventLoopWindowTarget::primary_monitor #[inline]