mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +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,
|
Other,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[repr(C)]
|
#[repr(u8)]
|
||||||
pub enum WriteErr {
|
pub enum WriteErr {
|
||||||
Other,
|
Other,
|
||||||
PermissionDenied,
|
PermissionDenied,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue