diff --git a/examples/minimal.rs b/examples/minimal.rs index 35c9c390..06b859d2 100644 --- a/examples/minimal.rs +++ b/examples/minimal.rs @@ -4,8 +4,8 @@ //! this is not meant to be prescriptive. See the [examples] folder for more complete examples. //! In particular, the [hello-world] example is a good starting point. //! -//! [examples]: https://github.com/ratatui-org/ratatui/blob/main/examples -//! [hello-world]: https://github.com/ratatui-org/ratatui/blob/main/examples/hello_world.rs +//! [examples]: https://github.com/ratatui/ratatui/blob/main/examples +//! [hello-world]: https://github.com/ratatui/ratatui/blob/main/examples/hello_world.rs //! //! The latest version of this example is available in the [examples] folder in the repository. //! diff --git a/examples/widget_impl.rs b/examples/widget_impl.rs index c92ffb30..2cead89c 100644 --- a/examples/widget_impl.rs +++ b/examples/widget_impl.rs @@ -13,9 +13,9 @@ //! See the [examples readme] for more information on finding examples that match the version of the //! library you are using. //! -//! [Ratatui]: https://github.com/ratatui-org/ratatui -//! [examples]: https://github.com/ratatui-org/ratatui/blob/main/examples -//! [examples readme]: https://github.com/ratatui-org/ratatui/blob/main/examples/README.md +//! [Ratatui]: https://github.com/ratatui/ratatui +//! [examples]: https://github.com/ratatui/ratatui/blob/main/examples +//! [examples readme]: https://github.com/ratatui/ratatui/blob/main/examples/README.md use std::time::{Duration, Instant}; use color_eyre::Result; @@ -115,7 +115,7 @@ impl Widget for &mut App { /// This was the way most widgets were implemented in Ratatui before `Widget` was implemented on /// references in [PR #903] (merged in Ratatui 0.26.0). /// -/// [PR #903]: https://github.com/ratatui-org/ratatui/pull/903 +/// [PR #903]: https://github.com/ratatui/ratatui/pull/903 struct Greeting { name: String, } @@ -247,7 +247,7 @@ impl Widget for &mut RightAlignedSquare { /// Fill the area with the specified symbol and style. /// /// This probably should be a method on the `Buffer` type, but it is defined here for simplicity. -/// +/// fn fill>(area: Rect, buf: &mut Buffer, symbol: &str, style: S) { let style = style.into(); for y in area.top()..area.bottom() {