aboutsummaryrefslogtreecommitdiff
path: root/examples/example-enum-tag/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example-enum-tag/src/main.rs')
-rw-r--r--examples/example-enum-tag/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example-enum-tag/src/main.rs b/examples/example-enum-tag/src/main.rs
index 01c7767..91c5358 100644
--- a/examples/example-enum-tag/src/main.rs
+++ b/examples/example-enum-tag/src/main.rs
@@ -79,7 +79,7 @@ dispatcher!("lang-select", CMDLanguageSelection => EntryLanguageSelection);
fn handle_language_selection(args: EntryLanguageSelection) -> Next {
// You can use Picker to directly parse ProgrammingLanguages
let lang: ProgrammingLanguages = args.pick(()).unpack();
- lang
+ lang.into()
}
/// Renders the selected programming language with its name and description.