aboutsummaryrefslogtreecommitdiff
path: root/docs/pages/3-features
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-04-25 21:06:12 +0800
committer魏曹先生 <1992414357@qq.com>2026-04-25 21:06:12 +0800
commit87bbc88548a4dadbc04998732de4cabfc93f3524 (patch)
treebf5f83f33213e835e401e9570fd1932eabb3f3ba /docs/pages/3-features
parent26e6d3a81af0ab54c63386d68a155d2f5907c137 (diff)
Refactor picker to return single values instead of single-element tuples
Diffstat (limited to 'docs/pages/3-features')
-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 9c48cfd..1490218 100644
--- a/docs/pages/3-features/1-parser.md
+++ b/docs/pages/3-features/1-parser.md
@@ -44,7 +44,7 @@ fn parse_hello(prev: HelloEntry) -> NextProcess {
// fallback to "World" if it doesn't exist
let first = picker
.pick_or((), "World")
- .unpack_directly().0;
+ .unpack_directly();
ParsedHello::new(first).to_render()
}