Fix `style::BoxSizing` comment (#812)
Delta semántico
Ninguna definición cambió: el cambio es de texto, documentación o datos.
1 archivos · +3 −3
- src/style/mod.rs +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,
}