summaryrefslogtreecommitdiffstats
path: root/examples/tour/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tour/src')
-rw-r--r--examples/tour/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/tour/src/main.rs b/examples/tour/src/main.rs
index 800254ed..0928cf30 100644
--- a/examples/tour/src/main.rs
+++ b/examples/tour/src/main.rs
@@ -528,9 +528,10 @@ impl<'a> Step {
.push(Language::all().iter().cloned().fold(
Column::new().padding(10).spacing(20),
|choices, language| {
+ let label: &str = language.into();
choices.push(Radio::new(
language,
- language.into(),
+ label,
selection,
StepMessage::LanguageSelected,
))