Skip to content

RFC: use finish_non_exhaustive#96

Open
elmarco wants to merge 1 commit intomcarton:masterfrom
elmarco:non-exhaustive
Open

RFC: use finish_non_exhaustive#96
elmarco wants to merge 1 commit intomcarton:masterfrom
elmarco:non-exhaustive

Conversation

@elmarco
Copy link

@elmarco elmarco commented Aug 16, 2021

According to rust doc: "Marks the struct as non-exhaustive, indicating
to the reader that there are some other fields that are not shown in the
debug representation.", which is appropriate when we ignore fields.

According to rust doc: "Marks the struct as non-exhaustive, indicating
to the reader that there are some other fields that are not shown in the
debug representation.", which is appropriate when we ignore fields.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
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