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

@ -63,7 +63,7 @@ impl Drop for Window {
/// Identifier of a window. Unique for each window.
///
/// Can be obtained with [`window.id()`](`Window::id`).
/// Can be obtained with [`window.id()`][`Window::id`].
///
/// Whenever you receive an event specific to a window, this event contains a `WindowId` which you
/// can then compare to the ids of your windows.
@ -1477,7 +1477,7 @@ impl Window {
.maybe_wait_on_main(|w| w.set_cursor_position(position))
}
/// Set grabbing [mode](CursorGrabMode) on the cursor preventing it from leaving the window.
/// Set grabbing [mode][CursorGrabMode] on the cursor preventing it from leaving the window.
///
/// # Example
///