aboutsummaryrefslogtreecommitdiff
path: root/docs/pages/3-features/1-parser.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/pages/3-features/1-parser.md')
-rw-r--r--docs/pages/3-features/1-parser.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/pages/3-features/1-parser.md b/docs/pages/3-features/1-parser.md
index f89091b..75a83d8 100644
--- a/docs/pages/3-features/1-parser.md
+++ b/docs/pages/3-features/1-parser.md
@@ -43,7 +43,7 @@ fn parse_hello(prev: HelloEntry) -> NextProcess {
// Extract the first argument from the Picker,
// fallback to "World" if it doesn't exist
let first = picker
- .pick_or((), "World".to_string())
+ .pick_or((), "World")
.unpack_directly().0;
ParsedHello::new(first).to_render()