Fix some doc nits (#3274)
This commit is contained in:
parent
4ee11018c2
commit
0a7ea61834
1 changed files with 1 additions and 10 deletions
|
|
@ -1489,10 +1489,6 @@ impl Window {
|
||||||
/// Returns the monitor on which the window currently resides.
|
/// Returns the monitor on which the window currently resides.
|
||||||
///
|
///
|
||||||
/// Returns `None` if current monitor can't be detected.
|
/// Returns `None` if current monitor can't be detected.
|
||||||
///
|
|
||||||
/// ## Platform-specific
|
|
||||||
///
|
|
||||||
/// **iOS:** Can only be called on the main thread.
|
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn current_monitor(&self) -> Option<MonitorHandle> {
|
pub fn current_monitor(&self) -> Option<MonitorHandle> {
|
||||||
self.window
|
self.window
|
||||||
|
|
@ -1503,10 +1499,6 @@ impl Window {
|
||||||
///
|
///
|
||||||
/// This is the same as [`EventLoopWindowTarget::available_monitors`], and is provided for convenience.
|
/// 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
|
/// [`EventLoopWindowTarget::available_monitors`]: crate::event_loop::EventLoopWindowTarget::available_monitors
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn available_monitors(&self) -> impl Iterator<Item = MonitorHandle> {
|
pub fn available_monitors(&self) -> impl Iterator<Item = MonitorHandle> {
|
||||||
|
|
@ -1525,8 +1517,7 @@ impl Window {
|
||||||
///
|
///
|
||||||
/// ## Platform-specific
|
/// ## Platform-specific
|
||||||
///
|
///
|
||||||
/// **iOS:** Can only be called on the main thread.
|
/// **Wayland / Web:** Always returns `None`.
|
||||||
/// **Wayland:** Always returns `None`.
|
|
||||||
///
|
///
|
||||||
/// [`EventLoopWindowTarget::primary_monitor`]: crate::event_loop::EventLoopWindowTarget::primary_monitor
|
/// [`EventLoopWindowTarget::primary_monitor`]: crate::event_loop::EventLoopWindowTarget::primary_monitor
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue