Skip to content

audio: rename AudioErrorResult to AudioResult and make non_exhaustive#441

Merged
MarijnS95 merged 1 commit intomasterfrom
audio-rework-result-enum
Oct 14, 2023
Merged

audio: rename AudioErrorResult to AudioResult and make non_exhaustive#441
MarijnS95 merged 1 commit intomasterfrom
audio-rework-result-enum

Conversation

@MarijnS95
Copy link
Member

Using the new num_enum catch_all we can now automatically implement the match statement and get rid of one superfluous AudioError variant.

@MarijnS95 MarijnS95 added the impact: breaking API/ABI-breaking change label Oct 14, 2023
…stive`

Using the new `num_enum` `catch_all` we can now automatically implement
the `match` statement and get rid of one superfluous `AudioError`
variant.
@MarijnS95 MarijnS95 force-pushed the audio-rework-result-enum branch from 4eadb81 to 8580112 Compare October 14, 2023 22:38
@MarijnS95 MarijnS95 merged commit 0792dba into master Oct 14, 2023
@MarijnS95 MarijnS95 deleted the audio-rework-result-enum branch October 14, 2023 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

impact: breaking API/ABI-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments