gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5364Rust 86Markdown 12TOML 91822 Definitions

Update alignment.rs (#376)

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

606643cc5fe557da55d348d5f6d38a8791caa24d · by ickshonpe · (3 years ago) · parent cd4c73e03 · browse the tree at this commit

Semantic delta

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

1 files · +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