diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-18 01:53:59 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-18 01:53:59 +0800 |
| commit | f5a4cebde2f12eb980de73ea41eb8d9e133ae49a (patch) | |
| tree | f0b5c550acf5a47cab03df8d3ff7292e7145e6b5 /examples/example-enum-tag/src/main.rs | |
| parent | 7b4c511cbd2429ca482a24b7256de785d9430445 (diff) | |
ix(macros)!: require explicit `.into()` on chain function return values
Diffstat (limited to 'examples/example-enum-tag/src/main.rs')
| -rw-r--r-- | examples/example-enum-tag/src/main.rs | 2 |
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. |
