docs: remove dead doc link
This commit is contained in:
parent
05d8fa0b91
commit
90cf9a3398
2 changed files with 4 additions and 6 deletions
|
|
@ -257,12 +257,10 @@
|
||||||
//! [`Window`]: window::Window
|
//! [`Window`]: window::Window
|
||||||
//! [`WindowId`]: window::WindowId
|
//! [`WindowId`]: window::WindowId
|
||||||
//! [`WindowAttributes`]: window::WindowAttributes
|
//! [`WindowAttributes`]: window::WindowAttributes
|
||||||
//! [window_new]: window::Window::new
|
|
||||||
//! [`create_window`]: event_loop::ActiveEventLoop::create_window
|
//! [`create_window`]: event_loop::ActiveEventLoop::create_window
|
||||||
//! [`Window::id()`]: window::Window::id
|
//! [`Window::id()`]: window::Window::id
|
||||||
//! [`WindowEvent`]: event::WindowEvent
|
//! [`WindowEvent`]: event::WindowEvent
|
||||||
//! [`DeviceEvent`]: event::DeviceEvent
|
//! [`DeviceEvent`]: event::DeviceEvent
|
||||||
//! [`Event::UserEvent`]: event::Event::UserEvent
|
|
||||||
//! [`exiting()`]: crate::application::ApplicationHandler::exiting
|
//! [`exiting()`]: crate::application::ApplicationHandler::exiting
|
||||||
//! [`raw_window_handle`]: ./window/struct.Window.html#method.raw_window_handle
|
//! [`raw_window_handle`]: ./window/struct.Window.html#method.raw_window_handle
|
||||||
//! [`raw_display_handle`]: ./window/struct.Window.html#method.raw_display_handle
|
//! [`raw_display_handle`]: ./window/struct.Window.html#method.raw_display_handle
|
||||||
|
|
|
||||||
|
|
@ -1558,14 +1558,14 @@ impl ActivationToken {
|
||||||
/// won't get focused automatically), but won't yield any errors.
|
/// won't get focused automatically), but won't yield any errors.
|
||||||
///
|
///
|
||||||
/// To obtain a valid token, use
|
/// To obtain a valid token, use
|
||||||
#[cfg_attr(any(x11_platform, wayland_platform, docsrs), doc = " [`request_activation_token`].")]
|
#[cfg_attr(
|
||||||
|
any(x11_platform, wayland_platform, docsrs),
|
||||||
|
doc = " [`request_activation_token`](crate::platform::startup_notify::WindowExtStartupNotify::request_activation_token)."
|
||||||
|
)]
|
||||||
#[cfg_attr(
|
#[cfg_attr(
|
||||||
not(any(x11_platform, wayland_platform, docsrs)),
|
not(any(x11_platform, wayland_platform, docsrs)),
|
||||||
doc = " `request_activation_token`."
|
doc = " `request_activation_token`."
|
||||||
)]
|
)]
|
||||||
///
|
|
||||||
#[rustfmt::skip]
|
|
||||||
/// [`request_activation_token`]: crate::platform::startup_notify::WindowExtStartupNotify::request_activation_token
|
|
||||||
pub fn from_raw(token: String) -> Self {
|
pub fn from_raw(token: String) -> Self {
|
||||||
Self { token }
|
Self { token }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue