E.g. if I have this:
#[derive(Deserialize)]
pub enum Foo {
A(A),
B(f32),
}
#[derive(Deserialize)]
pub struct A {
pub b: u8,
}
in RON I have to write A(( b: 42 )).
It would be preferable to be able to just write A( b: 42 ) (similar to the already implemented newtype-wrapping), but currently this gives an error.
E.g. if I have this:
in RON I have to write
A(( b: 42 )).It would be preferable to be able to just write
A( b: 42 )(similar to the already implemented newtype-wrapping), but currently this gives an error.