Skip to content

Destructuring of foreign non_exhaustive structs with .. wildcard#1

Open
mckzm wants to merge 1 commit intoQuineDot:mainfrom
mckzm:non_exhaustive-precision
Open

Destructuring of foreign non_exhaustive structs with .. wildcard#1
mckzm wants to merge 1 commit intoQuineDot:mainfrom
mckzm:non_exhaustive-precision

Conversation

@mckzm
Copy link
Copy Markdown

@mckzm mckzm commented Jun 1, 2024

This adds the precision that foreign non_exhaustive structs can be destructured, provided .. wildcard syntax is used, along with a short code snippet to illustrate (the referenced doc on the non_exhaustive attribute mentions this too, along with a couple examples).

Foreign non_exhaustive structs can be destructured, provided `..` wildcard syntax is used.
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.

1 participant