jswrenn / typic

Type-safe transmutations between layout-compatible types.
https://crates.io/crates/typic
Apache License 2.0
121 stars 4 forks source link

fix bug where `uSIZE` is emited #1

Closed RustyYato closed 4 years ago

RustyYato commented 4 years ago
#[typic::repr(C)]
enum OptionLike {
    Bool(bool),
    Empty
}

This currently emits uSIZE due to a bug

jswrenn commented 4 years ago

Oh my goodness! Thank you!