diff --git a/core/src/widget.rs b/core/src/widget.rs index c11dd9eb..35cf16bf 100644 --- a/core/src/widget.rs +++ b/core/src/widget.rs @@ -30,10 +30,10 @@ use crate::{Clipboard, Event, Length, Rectangle, Shell, Size, Vector}; /// - [`geometry`], a custom widget showcasing how to draw geometry with the /// `Mesh2D` primitive in [`iced_wgpu`]. /// -/// [examples]: https://github.com/iced-rs/iced/tree/0.13/examples -/// [`custom_widget`]: https://github.com/iced-rs/iced/tree/0.13/examples/custom_widget -/// [`geometry`]: https://github.com/iced-rs/iced/tree/0.13/examples/geometry -/// [`iced_wgpu`]: https://github.com/iced-rs/iced/tree/0.13/wgpu +/// [examples]: https://github.com/iced-rs/iced/tree/master/examples +/// [`custom_widget`]: https://github.com/iced-rs/iced/tree/master/examples/custom_widget +/// [`geometry`]: https://github.com/iced-rs/iced/tree/master/examples/geometry +/// [`iced_wgpu`]: https://github.com/iced-rs/iced/tree/master/wgpu pub trait Widget where Renderer: crate::Renderer, diff --git a/futures/src/subscription.rs b/futures/src/subscription.rs index 18e6cdd9..548b1aac 100644 --- a/futures/src/subscription.rs +++ b/futures/src/subscription.rs @@ -199,7 +199,7 @@ impl Subscription { /// Check out the [`websocket`] example, which showcases this pattern to maintain a `WebSocket` /// connection open. /// - /// [`websocket`]: https://github.com/iced-rs/iced/tree/0.13/examples/websocket + /// [`websocket`]: https://github.com/iced-rs/iced/tree/master/examples/websocket pub fn run(builder: fn() -> S) -> Self where S: Stream + MaybeSend + 'static, @@ -454,18 +454,6 @@ impl std::fmt::Debug for Subscription { /// A [`Recipe`] is the internal definition of a [`Subscription`]. It is used /// by runtimes to run and identify subscriptions. You can use it to create your /// own! -/// -/// # Examples -/// The repository has a couple of [examples] that use a custom [`Recipe`]: -/// -/// - [`download_progress`], a basic application that asynchronously downloads -/// a dummy file of 100 MB and tracks the download progress. -/// - [`stopwatch`], a watch with start/stop and reset buttons showcasing how -/// to listen to time. -/// -/// [examples]: https://github.com/iced-rs/iced/tree/0.13/examples -/// [`download_progress`]: https://github.com/iced-rs/iced/tree/0.13/examples/download_progress -/// [`stopwatch`]: https://github.com/iced-rs/iced/tree/0.13/examples/stopwatch pub trait Recipe { /// The events that will be produced by a [`Subscription`] with this /// [`Recipe`]. diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 9a373a30..ede15f08 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -4,7 +4,7 @@ //! //! `iced_runtime` takes [`iced_core`] and builds a native runtime on top of it. //! -//! [`iced_core`]: https://github.com/iced-rs/iced/tree/0.13/core +//! [`iced_core`]: https://github.com/iced-rs/iced/tree/master/core #![doc( html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" )] diff --git a/runtime/src/user_interface.rs b/runtime/src/user_interface.rs index a40ab221..c6092749 100644 --- a/runtime/src/user_interface.rs +++ b/runtime/src/user_interface.rs @@ -21,7 +21,7 @@ use crate::core::{ /// The [`integration`] example uses a [`UserInterface`] to integrate Iced in an /// existing graphical application. /// -/// [`integration`]: https://github.com/iced-rs/iced/tree/0.13/examples/integration +/// [`integration`]: https://github.com/iced-rs/iced/tree/master/examples/integration pub struct UserInterface<'a, Message, Theme, Renderer> { root: Element<'a, Message, Theme, Renderer>, base: layout::Node, diff --git a/widget/src/pane_grid.rs b/widget/src/pane_grid.rs index 67cb20d4..eca28ebe 100644 --- a/widget/src/pane_grid.rs +++ b/widget/src/pane_grid.rs @@ -52,7 +52,7 @@ //! The [`pane_grid` example] showcases how to use a [`PaneGrid`] with resizing, //! drag and drop, and hotkey support. //! -//! [`pane_grid` example]: https://github.com/iced-rs/iced/tree/0.13/examples/pane_grid +//! [`pane_grid` example]: https://github.com/iced-rs/iced/tree/master/examples/pane_grid mod axis; mod configuration; mod content; diff --git a/winit/src/conversion.rs b/winit/src/conversion.rs index 496a956a..1cfc89f0 100644 --- a/winit/src/conversion.rs +++ b/winit/src/conversion.rs @@ -1,7 +1,7 @@ //! Convert [`winit`] types into [`iced_runtime`] types, and viceversa. //! //! [`winit`]: https://github.com/rust-windowing/winit -//! [`iced_runtime`]: https://github.com/iced-rs/iced/tree/0.13/runtime +//! [`iced_runtime`]: https://github.com/iced-rs/iced/tree/master/runtime use crate::core::input_method; use crate::core::keyboard; use crate::core::mouse; diff --git a/winit/src/lib.rs b/winit/src/lib.rs index eb8cdec8..4b6c649f 100644 --- a/winit/src/lib.rs +++ b/winit/src/lib.rs @@ -11,7 +11,7 @@ //! Additionally, a [`conversion`] module is available for users that decide to //! implement a custom event loop. //! -//! [`iced_runtime`]: https://github.com/iced-rs/iced/tree/0.13/runtime +//! [`iced_runtime`]: https://github.com/iced-rs/iced/tree/master/runtime //! [`winit`]: https://github.com/rust-windowing/winit //! [`conversion`]: crate::conversion #![doc(