Add space between rsx and exclamation point (#2956)
This commit is contained in:
1 parent
8d68886310
commit
c7124e41fb
20 files changed
+41
-41
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user