gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1111HTML 1039Markdown 12TOML 94524 Definitions

docs: fix incomplete comment for `LayoutInput::run_mode` (#893)

Signed-off-by: WaterWhisperer <waterwhisperer24@qq.com>

32db50d96531ddce8f5401254b17a084295008a8 · by WaterWhisperer · (11 months ago) · parent 8f30e3941 · browse the tree at this commit

Semantic delta

No definition changed: this change is text, documentation or data.

1 files · +1 −1

diff --git a/src/tree/layout.rs b/src/tree/layout.rs
index 84a68505f..304953708 100644
--- a/src/tree/layout.rs
+++ b/src/tree/layout.rs
@@ -109,7 +109,7 @@ impl TryFrom<RequestedAxis> for AbsoluteAxis {
 #[derive(Debug, Copy, Clone, PartialEq)]
 #[cfg_attr(feature = "serde", derive(Serialize))]
 pub struct LayoutInput {
-    /// Whether we only need to know the Node's size, or whe
+    /// Whether we only need to know the Node's size, or whether we need to perform a full layout
     pub run_mode: RunMode,
     /// Whether a Node's style sizes should be taken into account or ignored
     pub sizing_mode: SizingMode,