feat: massage lifetimes

This commit is contained in:
Jonathan Kelley committed 2021-10-16 17:37:28 -04:00
1 parent 16dbf4a6f8
commit 9726a065b0
92 files changed
+250 -241

No files matched your search

+2 -2
View File
@@ -86,7 +86,7 @@ mod ric_raf;
/// dioxus_web::launch(App, |c| c);
/// }
///
/// static App: FC<()> = |cx, props| {
/// static App: FC<()> = |(cx, props)| {
/// rsx!(cx, div {"hello world"})
/// }
/// ```
@@ -110,7 +110,7 @@ pub fn launch(root_component: FC<()>, configuration: impl FnOnce(WebConfig) -> W
/// name: String
/// }
///
/// static App: FC<RootProps> = |cx, props| {
/// static App: FC<RootProps> = |(cx, props)| {
/// rsx!(cx, div {"hello {props.name}"})
/// }
/// ```