From 87bbc88548a4dadbc04998732de4cabfc93f3524 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 25 Apr 2026 21:06:12 +0800 Subject: Refactor picker to return single values instead of single-element tuples --- docs/pages/3-features/1-parser.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/pages/3-features') 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() } -- cgit