Fix #2104: fmt incorrectly using 1-indexing for columns (#2106)

* Fix #2104: fmt incorrectly using 1-indexing for columns

* Clippy...
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2024-03-18 18:23:45 -07:00
1 parent 2dc6cecf2e
commit d8942a255b
17 files changed
+756 -40

No files matched your search

@@ -0,0 +1,18 @@
fn main() {
rsx! {
button {
id: "start_stop",
onclick: move |_| {
timer
.with_mut(|t| {
t
.started_at = if t.started_at.is_none() {
Some(Instant::now())
} else {
None
};
})
}
}
}
}