tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5544Rust 88Markdown 11TOML 91926 Sutichaykuna

Fix `style::BoxSizing` comment (#812)

f8a32fcfd47956ccee10ddc28273edab82e002ad · ruwaq futsuuu · (1 wata ñawpaq) · tayta edfe3d910 · kay commitpi sach'ata qhaway

Semántico sayk'uy

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

1 qillqakuna · +3 −3

diff --git a/src/style/mod.rs b/src/style/mod.rs
index 41cef747a..4319675d0 100644
--- a/src/style/mod.rs
+++ b/src/style/mod.rs
@@ -251,13 +251,13 @@ impl Default for Position {
 ///   - `max_size`
 ///   - `flex_basis`
 ///
-/// See h<ttps://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing>
+/// See <https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing>
 #[derive(Copy, Clone, PartialEq, Eq, Debug)]
 #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
 pub enum BoxSizing {
-    /// Size styles such size, min_size, max_size specify the box's "content box" (the size excluding padding/border/margin)
-    BorderBox,
     /// Size styles such size, min_size, max_size specify the box's "border box" (the size excluding margin but including padding/border)
+    BorderBox,
+    /// Size styles such size, min_size, max_size specify the box's "content box" (the size excluding padding/border/margin)
     ContentBox,
 }