Prefer [foo][bar] over [foo](bar) for intra-doc links (#3191)

This commit is contained in:
daxpedda 2024-03-16 10:22:29 +01:00 committed by GitHub
parent c10f9c32d3
commit baf10de958
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 18 additions and 18 deletions

View file

@ -252,7 +252,7 @@ impl ActiveEventLoopExtWebSys for ActiveEventLoop {
}
}
/// Strategy used for [`ControlFlow::Poll`](crate::event_loop::ControlFlow::Poll).
/// Strategy used for [`ControlFlow::Poll`][crate::event_loop::ControlFlow::Poll].
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]
pub enum PollStrategy {
/// Uses [`Window.requestIdleCallback()`] to queue the next event loop. If not available

View file

@ -305,7 +305,7 @@ impl WindowExtWindows for Window {
pub trait WindowAttributesExtWindows {
/// Set an owner to the window to be created. Can be used to create a dialog box, for example.
/// This only works when [`WindowAttributes::with_parent_window`] isn't called or set to `None`.
/// Can be used in combination with [`WindowExtWindows::set_enable(false)`](WindowExtWindows::set_enable)
/// Can be used in combination with [`WindowExtWindows::set_enable(false)`][WindowExtWindows::set_enable]
/// on the owner window to create a modal dialog box.
///
/// From MSDN: