Fix outdated winit links in documentation
This commit is contained in:
parent
3041ec0315
commit
efb12cad20
2 changed files with 3 additions and 3 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -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`].
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue