Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Document `.size()`

Marshall Bowers3e3250452611
diff --git a/crates/gpui3_macros/src/style_helpers.rs b/crates/gpui3_macros/src/style_helpers.rs
index b1a0dc9f672..27392e81eea 100644
--- a/crates/gpui3_macros/src/style_helpers.rs
+++ b/crates/gpui3_macros/src/style_helpers.rs
@@ -181,12 +181,12 @@ fn box_prefixes() -> Vec<(&'static str, bool, Vec<TokenStream2>, &'static str)>
vec![quote! { size.width }],
"Sets the width of the element. [Docs](https://tailwindcss.com/docs/width)",
),
- ("h", true, vec![quote! { size.height }], "todo!(docstring)"),
+ ("h", true, vec![quote! { size.height }], "Sets the height of the element. [Docs](https://tailwindcss.com/docs/height)"),
(
"size",
true,
vec![quote! {size.width}, quote! {size.height}],
- "Sets the height of the element. [Docs](https://tailwindcss.com/docs/height)",
+ "Sets the width and height of the element."
),
(
"min_w",