10 lines
125 B
Rust
Raw Normal View History

2018-12-31 21:36:59 -05:00
use serde_derive::Serialize;
#[derive(Serialize)]
#[serde(transparent, into = "u64")]
struct S {
a: u8,
}
fn main() {}