dioxus/packages/autofmt/tests/samples/trailing_expr.rsx
Jonathan Kelley be99e29e5f
Fixes to autofmt, make it more aggressive (#2230)
* fix: fmt unterminated if, be more aggressive with line splits

* Fix: Handle long exprs in for/if statements
2024-04-03 15:27:36 -07:00

10 lines
207 B
R

fn it_works() {
rsx! {
div {
span {
"Description: "
{package.description.as_deref().unwrap_or("❌❌❌❌ missing")}
}
}
}
}