diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-04-25 21:06:12 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-04-25 21:06:12 +0800 |
| commit | 87bbc88548a4dadbc04998732de4cabfc93f3524 (patch) | |
| tree | bf5f83f33213e835e401e9570fd1932eabb3f3ba /docs/pages | |
| parent | 26e6d3a81af0ab54c63386d68a155d2f5907c137 (diff) | |
Refactor picker to return single values instead of single-element tuples
Diffstat (limited to 'docs/pages')
| -rw-r--r-- | docs/pages/3-features/1-parser.md | 2 |
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() } |
