diff options
author | 2020-04-05 10:29:25 +0700 | |
---|---|---|
committer | 2020-04-05 12:43:18 +0700 | |
commit | 1a9bfd9e737c4203c9ec607465c106da08ad5020 (patch) | |
tree | 531f9692a2dfefcd9505b72eda8ff4a40d1c1e11 /examples/tour/src | |
parent | 15f5b93a0d4b7b7fead8d1864c77e6df50b9a231 (diff) | |
download | iced-1a9bfd9e737c4203c9ec607465c106da08ad5020.tar.gz iced-1a9bfd9e737c4203c9ec607465c106da08ad5020.tar.bz2 iced-1a9bfd9e737c4203c9ec607465c106da08ad5020.zip |
Radiobutton label is now `impl Into<String>`
Diffstat (limited to 'examples/tour/src')
-rw-r--r-- | examples/tour/src/main.rs | 3 |
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, )) |