Skip to content

Add icu_pattern::TryWrap; remove single and double wrappers - #8364

Merged
sffc merged 2 commits into
unicode-org:mainfrom
sffc:trywrap
Aug 13, 2026
Merged

Add icu_pattern::TryWrap; remove single and double wrappers#8364
sffc merged 2 commits into
unicode-org:mainfrom
sffc:trywrap

Conversation

@sffc

@sffc sffc commented Aug 13, 2026

Copy link
Copy Markdown
Member

Fixes #8130

There's potential for future improvement here. See #8363

Changelog

icu_pattern: add TryWrap for bubbling through TryWriteable errors

@sffc
sffc marked this pull request as ready for review August 13, 2026 00:27
@sffc
sffc requested review from a team, dminor and zbraniecki as code owners August 13, 2026 00:27
@sffc
sffc enabled auto-merge (squash) August 13, 2026 00:27
@sffc
sffc requested review from Manishearth and removed request for a team, dminor and zbraniecki August 13, 2026 00:27

@Manishearth Manishearth left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think TryWrap is an okay name for this. Room for improvement, but also just fine as is.

@sffc
sffc merged commit 88f93cb into unicode-org:main Aug 13, 2026
32 of 33 checks passed
@sffc
sffc deleted the trywrap branch August 13, 2026 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Decide whether icu_pattern is breaking in 2.3 and then tweak TryWriteable impls

2 participants