tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5544Rust 88Markdown 11TOML 91926 Definiciones

Minor comments fixes (#821)

4e4fe43929aa7e1261d95c009bea371284e508b7 · por Yurii Nakonechnyi · (hace 1 año) · padre 9eacffcf1 · ver el árbol en este commit

Delta semántico

Ninguna definición cambió: el cambio es de texto, documentación o datos.

1 archivos · +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())
     }