Skip to content

Commit

Permalink
Fix some doc nits (#3274)
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda authored and kchibisov committed Dec 24, 2023
1 parent e395961 commit 9b03bb7
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<MonitorHandle> {
self.window
Expand All @@ -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<Item = MonitorHandle> {
Expand All @@ -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]
Expand Down

0 comments on commit 9b03bb7

Please sign in to comment.