From b669cebcaf51cdf8585c48aec0f7282bf492df6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jagoda=20Estera=20=C5=9Al=C4=85zak?= <128227338+j-g00da@users.noreply.github.com> Date: Sun, 6 Apr 2025 17:19:19 +0200 Subject: [PATCH] docs(layout): change `cassowary` to `kasuari` crate reference (#1765) --- ratatui-core/src/layout/layout.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ratatui-core/src/layout/layout.rs b/ratatui-core/src/layout/layout.rs index f45758b8..85acc09a 100644 --- a/ratatui-core/src/layout/layout.rs +++ b/ratatui-core/src/layout/layout.rs @@ -115,7 +115,7 @@ impl From for Spacing { /// - a flex option /// - a spacing option /// -/// The algorithm used to compute the layout is based on the [`cassowary`] solver. It is a simple +/// The algorithm used to compute the layout is based on the [`kasuari`] solver. It is a simple /// linear solver that can be used to solve linear equations and inequalities. In our case, we /// define a set of constraints that are applied to split the provided area into Rects aligned in a /// single direction, and the solver computes the values of the position and sizes that satisfy as @@ -168,7 +168,7 @@ impl From for Spacing { /// ![layout /// example](https://camo.githubusercontent.com/77d22f3313b782a81e5e033ef82814bb48d786d2598699c27f8e757ccee62021/68747470733a2f2f7668732e636861726d2e73682f7668732d315a4e6f4e4c4e6c4c746b4a58706767396e435635652e676966) /// -/// [`cassowary`]: https://crates.io/crates/cassowary +/// [`kasuari`]: https://crates.io/crates/kasuari /// [Examples]: https://github.com/ratatui/ratatui/blob/main/examples/README.md #[derive(Debug, Default, Clone, Eq, PartialEq, Hash)] pub struct Layout {