Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated extensibility to discuss non_exhaustive #135

Merged
merged 26 commits into from
Sep 1, 2021
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update idioms/priv-extend.md
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
  • Loading branch information
simonsan and MarcoIeni authored Mar 29, 2021
commit c79e976f44676ac2b47f24dc0b7586fe39dd7770
2 changes: 1 addition & 1 deletion idioms/priv-extend.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ with your library, but is not a general purpose tool.

`#[non_exhaustive]` forces clients to handle the "Something else" case; there is
simonsan marked this conversation as resolved.
Show resolved Hide resolved
rarely a sensible action to take in this scenario. This leads to awkward code and
code paths that only executed in extremely rare circumstances.
code paths that are only executed in extremely rare circumstances.

## Example

Expand Down