diff --git a/src/tree/node.rs b/src/tree/node.rs index 43cbab65b..e12c09b46 100644 --- a/src/tree/node.rs +++ b/src/tree/node.rs @@ -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 . pub(crate) unrounded_layout: Layout, /// The final (possibly rounded) results of the layout computation diff --git a/src/tree/taffy_tree/tree.rs b/src/tree/taffy_tree/tree.rs index 7f2b6dcfc..4576987aa 100644 --- a/src/tree/taffy_tree/tree.rs +++ b/src/tree/taffy_tree/tree.rs @@ -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 without breaking backwards compatibility pub(crate) is_layouting: bool, }