Skip to content

Add coerce for Option<T> - #217

Open
matts1 wants to merge 1 commit into
facebook:mainfrom
matts1:push-ktlpunlqqomp
Open

Add coerce for Option<T>#217
matts1 wants to merge 1 commit into
facebook:mainfrom
matts1:push-ktlpunlqqomp

Conversation

@matts1

@matts1 matts1 commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

This should be safe as long as To and From both either have niche optimization enabled or disabled.

Since To and From are coercible, however, niche optimization on the two of them should match.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant