docs(layout): change cassowary to kasuari crate reference (#1765)
This commit is contained in:
committed by
GitHub
parent
cef617cc35
commit
b669cebcaf
@@ -115,7 +115,7 @@ impl From<i16> 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<i16> for Spacing {
|
||||
/// 
|
||||
///
|
||||
/// [`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 {
|
||||
|
||||
Reference in New Issue
Block a user