From 31bd010226974b931e043f706302b0e8873def82 Mon Sep 17 00:00:00 2001 From: Dave Rolsky Date: Thu, 6 Jan 2022 10:11:47 -0600 Subject: [PATCH] Fix typo of Diane's name Those two American kids are just growing up as fast as they can, huh? --- docs/guide/src/elements/conditional_rendering.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/src/elements/conditional_rendering.md b/docs/guide/src/elements/conditional_rendering.md index c23e62e47..211da5d1a 100644 --- a/docs/guide/src/elements/conditional_rendering.md +++ b/docs/guide/src/elements/conditional_rendering.md @@ -61,7 +61,7 @@ We can even match against values: fn App(cx: Scope)-> Element { match get_name() { "jack" => cx.render(rsx!( "Hey Jack, how's Diane?" )), - "diane" => cx.render(rsx!( "Hey Diana, how's Jack?" )), + "diane" => cx.render(rsx!( "Hey Diane, how's Jack?" )), name => cx.render(rsx!( "Hello, {name}!" )), } }