Add space between rsx and exclamation point (#2956)

This commit is contained in:
Jonathan Kelley authored and GitHub committed 2024-09-13 08:31:39 -05:00
1 parent 8d68886310
commit c7124e41fb
20 files changed
+41 -41

No files matched your search

+2 -2
View File
@@ -269,7 +269,7 @@ impl VirtualDom {
/// }
///
/// fn Example(cx: SomeProps) -> Element {
/// rsx!{ div { "hello {cx.name}" } }
/// rsx! { div { "hello {cx.name}" } }
/// }
///
/// let dom = VirtualDom::new_with_props(Example, SomeProps { name: "world" });
@@ -285,7 +285,7 @@ impl VirtualDom {
/// # name: &'static str
/// # }
/// # fn Example(cx: SomeProps) -> Element {
/// # rsx!{ div { "hello {cx.name}" } }
/// # rsx! { div { "hello {cx.name}" } }
/// # }
/// let mut dom = VirtualDom::new_with_props(Example, SomeProps { name: "jane" });
/// dom.rebuild_in_place();