summaryrefslogtreecommitdiffstats
path: root/examples/tour/src/main.rs
diff options
context:
space:
mode:
authorLibravatar Nicholas <MrMonotone@users.noreply.github.com>2020-04-13 22:19:47 -0700
committerLibravatar GitHub <noreply@github.com>2020-04-13 22:19:47 -0700
commit67fd107746104d1d68d9b4a81a6be782c1f15a54 (patch)
treebbb1199f50797115262c1b61aa204576162975c3 /examples/tour/src/main.rs
parentce65097834cf5a36bb528a371339b2ff2720dd61 (diff)
downloadiced-67fd107746104d1d68d9b4a81a6be782c1f15a54.tar.gz
iced-67fd107746104d1d68d9b4a81a6be782c1f15a54.tar.bz2
iced-67fd107746104d1d68d9b4a81a6be782c1f15a54.zip
Fix tour example
Diffstat (limited to '')
-rw-r--r--examples/tour/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tour/src/main.rs b/examples/tour/src/main.rs
index c9678b9d..918238b6 100644
--- a/examples/tour/src/main.rs
+++ b/examples/tour/src/main.rs
@@ -530,7 +530,7 @@ impl<'a> Step {
|choices, language| {
choices.push(Radio::new(
language,
- language,
+ &String::from(language),
selection,
StepMessage::LanguageSelected,
))