rust-mobile / ndk

Rust bindings to the Android NDK
Apache License 2.0
1.11k stars 110 forks source link

audio: rename `AudioErrorResult` to `AudioResult` and make `non_exhaustive` #441

Closed MarijnS95 closed 10 months ago

MarijnS95 commented 10 months ago

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