You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The question is what constitutes a "short" expression. I would suggest either fits in one line or is a self-closing tag. I prefer the previous to allow something like html!(<p>Hello World</p>).
The text was updated successfully, but these errors were encountered:
aDogCalledSpot
changed the title
Allow parantheses for short expressions
Allow parentheses for short expressions
Jan 14, 2024
The braces look good if there's a lot of content but personally I like using the round parentheses if there isn't a lot of content.
e.g.
compared to
The question is what constitutes a "short" expression. I would suggest either fits in one line or is a self-closing tag. I prefer the previous to allow something like
html!(<p>Hello World</p>)
.The text was updated successfully, but these errors were encountered: