aboutsummaryrefslogtreecommitdiff
path: root/examples/example-enum-tag/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example-enum-tag/src')
-rw-r--r--examples/example-enum-tag/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/example-enum-tag/src/main.rs b/examples/example-enum-tag/src/main.rs
index 30439f5..ad9db82 100644
--- a/examples/example-enum-tag/src/main.rs
+++ b/examples/example-enum-tag/src/main.rs
@@ -81,6 +81,7 @@ fn handle_language_selection(args: EntryLanguageSelection) -> Next {
lang
}
+/// Renders the selected programming language with its name and description.
#[renderer]
fn render_programming_language(lang: ProgrammingLanguages) {
// You can use `enum_info()` to get the name and description of the current enum