From efb12cad2033c64ea44df549b5bddc2bbeb1a4ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Sun, 7 Dec 2025 20:17:18 +0100 Subject: [PATCH] Fix outdated `winit` links in documentation --- core/src/keyboard/key.rs | 4 ++-- core/src/window/settings.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/keyboard/key.rs b/core/src/keyboard/key.rs index 7e313794..117b7e6a 100644 --- a/core/src/keyboard/key.rs +++ b/core/src/keyboard/key.rs @@ -5,7 +5,7 @@ use crate::SmolStr; /// /// 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)] pub enum Key { /// A key with an established name. @@ -127,7 +127,7 @@ impl From for Key { /// /// 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)] #[allow(missing_docs)] pub enum Named { diff --git a/core/src/window/settings.rs b/core/src/window/settings.rs index fc3dc061..2c21b888 100644 --- a/core/src/window/settings.rs +++ b/core/src/window/settings.rs @@ -77,7 +77,7 @@ pub struct Settings { /// This option is only supported on macOS and Linux. Please read the [winit document][winit] /// 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, /// The window [`Level`].