gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5544Rust 88Markdown 11TOML 91926 Definiciones

Update alignment.rs (#376)

Replaced `of` with `or` in some comments.

606643cc5fe557da55d348d5f6d38a8791caa24d · por ickshonpe · (hace 3 años) · padre cd4c73e03 · ver el árbol en este commit

Delta semántico

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

1 archivos · +4 −4

diff --git a/src/style/alignment.rs b/src/style/alignment.rs
index 075a0eef1..659ec0ccd 100644
--- a/src/style/alignment.rs
+++ b/src/style/alignment.rs
@@ -14,12 +14,12 @@ pub enum AlignItems {
     End,
     /// Items are packed towards the flex-relative start of the axis.
     ///
-    /// For flex containers with flex_direction RowReverse of ColumnReverse this is equivalent
+    /// For flex containers with flex_direction RowReverse or ColumnReverse this is equivalent
     /// to End. In all other cases it is equivalent to Start.
     FlexStart,
     /// Items are packed towards the flex-relative end of the axis.
     ///
-    /// For flex containers with flex_direction RowReverse of ColumnReverse this is equivalent
+    /// For flex containers with flex_direction RowReverse or ColumnReverse this is equivalent
     /// to Start. In all other cases it is equivalent to End.
     FlexEnd,
     /// Items are packed along the center of the cross axis
@@ -64,12 +64,12 @@ pub enum AlignContent {
     End,
     /// Items are packed towards the flex-relative start of the axis.
     ///
-    /// For flex containers with flex_direction RowReverse of ColumnReverse this is equivalent
+    /// For flex containers with flex_direction RowReverse or ColumnReverse this is equivalent
     /// to End. In all other cases it is equivalent to Start.
     FlexStart,
     /// Items are packed towards the flex-relative end of the axis.
     ///
-    /// For flex containers with flex_direction RowReverse of ColumnReverse this is equivalent
+    /// For flex containers with flex_direction RowReverse or ColumnReverse this is equivalent
     /// to Start. In all other cases it is equivalent to End.
     FlexEnd,
     /// Items are centered around the middle of the axis