tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5544Rust 88Markdown 11TOML 91926 Sutichaykuna

Fix another typo in the Swift docs

bb94c36da687099be668b183ca8d55185d36938d · ruwaq Noah Gilmore · (7 wata ñawpaq) · tayta bd6e1961c · kay commitpi sach'ata qhaway

Semántico sayk'uy

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

1 qillqakuna · +1 −1

diff --git a/docs/src/pages/docs/swift.mdx b/docs/src/pages/docs/swift.mdx
index 37abfeb5a..90eaa3788 100644
--- a/docs/src/pages/docs/swift.mdx
+++ b/docs/src/pages/docs/swift.mdx
@@ -157,7 +157,7 @@ Computes the layout of a node tree given a size. The size passed in is used to c
 <Code lang="swift">{`func computeLayout(thatFits size: Size<Float?>) -> Layout`}</Code>
 
 # Style
-The `Style` object contains all the properties associated with flexbox as well as some properties which we found useful outside of flexbox. For example `positionType` can be set to `PositionType.absolute` which puts the node into a absolute layout context instead of a flexbox context. `aspectRatio` is another property not part of the flexbox specification which when set ensures the node matches a certain aspect ratio.
+The `Style` object contains all the properties associated with flexbox as well as some properties which we found useful outside of flexbox. For example `positionType` can be set to `PositionType.absolute` which puts the node into an absolute layout context instead of a flexbox context. `aspectRatio` is another property not part of the flexbox specification which when set ensures the node matches a certain aspect ratio.
 
 <Code lang="swift">{`
 class Style {