Fix outdated winit links in documentation

This commit is contained in:
Héctor Ramón Jiménez 2025-12-07 20:17:18 +01:00
parent 3041ec0315
commit efb12cad20
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ use crate::SmolStr;
/// ///
/// This is mostly the `Key` type found in [`winit`]. /// This is mostly the `Key` type found in [`winit`].
/// ///
/// [`winit`]: https://docs.rs/winit/0.29.10/winit/keyboard/enum.Key.html /// [`winit`]: https://docs.rs/winit/0.30/winit/keyboard/enum.Key.html
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub enum Key<C = SmolStr> { pub enum Key<C = SmolStr> {
/// A key with an established name. /// A key with an established name.
@ -127,7 +127,7 @@ impl From<Named> for Key {
/// ///
/// This is mostly the `NamedKey` type found in [`winit`]. /// This is mostly the `NamedKey` type found in [`winit`].
/// ///
/// [`winit`]: https://docs.rs/winit/0.29.10/winit/keyboard/enum.Key.html /// [`winit`]: https://docs.rs/winit/0.30/winit/keyboard/enum.Key.html
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[allow(missing_docs)] #[allow(missing_docs)]
pub enum Named { pub enum Named {

View file

@ -77,7 +77,7 @@ pub struct Settings {
/// This option is only supported on macOS and Linux. Please read the [winit document][winit] /// This option is only supported on macOS and Linux. Please read the [winit document][winit]
/// for more details. /// for more details.
/// ///
/// [winit]: https://docs.rs/winit/latest/winit/window/struct.Window.html#method.set_blur /// [winit]: https://docs.rs/winit/0.30/winit/window/struct.Window.html#method.set_blur
pub blur: bool, pub blur: bool,
/// The window [`Level`]. /// The window [`Level`].