gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5544Rust 88Markdown 11TOML 91926 Sutichaykuna

Minor comments fixes (#821)

4e4fe43929aa7e1261d95c009bea371284e508b7 · ruwaq Yurii Nakonechnyi · (1 wata ñawpaq) · tayta 9eacffcf1 · kay commitpi sach'ata qhaway

Semántico sayk'uy

Mana ima sutichaypas t'ikrakurqanchu: qillqalla, yachachiylla utaq willaylla t'ikrakurqan.

1 qillqakuna · +2 −2

diff --git a/src/tree/layout.rs b/src/tree/layout.rs
index 445c2ed71..84a68505f 100644
--- a/src/tree/layout.rs
+++ b/src/tree/layout.rs
@@ -209,12 +209,12 @@ impl LayoutOutput {
         }
     }
 
-    /// Construct a SizeBaselinesAndMargins from just the container and content sizes
+    /// Construct a `LayoutOutput` from just the container and content sizes
     pub fn from_sizes(size: Size<f32>, content_size: Size<f32>) -> Self {
         Self::from_sizes_and_baselines(size, content_size, Point::NONE)
     }
 
-    /// Construct a SizeBaselinesAndMargins from just the container's size.
+    /// Construct a `LayoutOutput` from just the container's size.
     pub fn from_outer_size(size: Size<f32>) -> Self {
         Self::from_sizes(size, Size::zero())
     }