Skip to content

Commit f8a32fc

Browse files
authored
Fix style::BoxSizing comment (#812)
1 parent edfe3d9 commit f8a32fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/style/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -251,13 +251,13 @@ impl Default for Position {
251251
/// - `max_size`
252252
/// - `flex_basis`
253253
///
254-
/// See h<ttps://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing>
254+
/// See <https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing>
255255
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
256256
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
257257
pub enum BoxSizing {
258-
/// Size styles such size, min_size, max_size specify the box's "content box" (the size excluding padding/border/margin)
259-
BorderBox,
260258
/// Size styles such size, min_size, max_size specify the box's "border box" (the size excluding margin but including padding/border)
259+
BorderBox,
260+
/// Size styles such size, min_size, max_size specify the box's "content box" (the size excluding padding/border/margin)
261261
ContentBox,
262262
}
263263

0 commit comments

Comments
 (0)