Collapse a structure expression onto one line
All checks were successful
/ test (pull_request) Successful in 3m34s

I had put `active_tab: /* ... */` on its own line to make the
`create_signal` call more readable, but it wasn't worth the cost in
vertical space.
This commit is contained in:
Aaron Fenyes 2025-08-01 22:39:59 -07:00
parent af59166906
commit ebad512a03

View file

@ -16,9 +16,7 @@ struct DiagnosticsState {
impl DiagnosticsState {
fn new(initial_tab: String) -> DiagnosticsState {
DiagnosticsState {
active_tab: create_signal(initial_tab),
}
DiagnosticsState { active_tab: create_signal(initial_tab) }
}
}