Skip to content

Commit

Permalink
Fix doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed Jul 22, 2023
1 parent 954e4dc commit 3123056
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tree/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pub(crate) struct NodeData {
pub(crate) style: Style,

/// The always unrounded results of the layout computation. We must store this separately from the rounded
/// layout to avoid errors from rounding already-rounded values
/// layout to avoid errors from rounding already-rounded values. See <https://github.com/DioxusLabs/taffy/issues/501>.
pub(crate) unrounded_layout: Layout,

/// The final (possibly rounded) results of the layout computation
Expand Down
2 changes: 1 addition & 1 deletion src/tree/taffy_tree/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub struct Taffy {

/// Hack to allow the `LayoutTree::layout_mut` function to expose the `NodeData.unrounded_layout` of a node to
/// the layout algorithms during layout, while exposing the `NodeData.final_layout` when called by external users.
/// This allows us to fix https://github.com/DioxusLabs/taffy/issues/501 without breaking backwards compatibility
/// This allows us to fix <https://github.com/DioxusLabs/taffy/issues/501> without breaking backwards compatibility
pub(crate) is_layouting: bool,
}

Expand Down

0 comments on commit 3123056

Please sign in to comment.