mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
use repr(u8) instead of repr(C) for an enum
This commit is contained in:
parent
42ae4282ba
commit
a0fe1ec453
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ pub enum ReadErr {
|
|||
Other,
|
||||
}
|
||||
|
||||
#[repr(C)]
|
||||
#[repr(u8)]
|
||||
pub enum WriteErr {
|
||||
Other,
|
||||
PermissionDenied,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue