fmt: apply cargofmt with new rules for lit structs

This commit is contained in:
Jonathan Kelley committed 2022-01-31 02:40:12 -05:00
1 parent 11f6b93889
commit 5bffbba682
11 files changed
+54 -195

No files matched your search

+2 -8
View File
@@ -68,15 +68,9 @@ fn conditional_rendering() {
mutations.edits,
[
CreateElement { root: 1, tag: "h1" },
CreateTextNode {
root: 2,
text: "hello"
},
CreateTextNode { root: 2, text: "hello" },
AppendChildren { many: 1 },
CreateElement {
root: 3,
tag: "span"
},
CreateElement { root: 3, tag: "span" },
CreateTextNode { root: 4, text: "a" },
AppendChildren { many: 1 },
CreatePlaceholder { root: 5 },