Paolo Bonzini writes:
> Il lun 21 ott 2024, 12:39 Junjie Mao ha scritto:
>
> Paolo Bonzini writes:
>
> > Use the "struct update" syntax to initialize most of the fields to zero,
> > and simplify the handmade type-checking of $name.
> >
> > Signed-off-by: Paolo Bonzini
> > ---
> > rus
Il lun 21 ott 2024, 12:39 Junjie Mao ha scritto:
>
> Paolo Bonzini writes:
>
> > Use the "struct update" syntax to initialize most of the fields to zero,
> > and simplify the handmade type-checking of $name.
> >
> > Signed-off-by: Paolo Bonzini
> > ---
> > rust/qemu-api/src/device_class.rs | 2
Paolo Bonzini writes:
> Use the "struct update" syntax to initialize most of the fields to zero,
> and simplify the handmade type-checking of $name.
>
> Signed-off-by: Paolo Bonzini
> ---
> rust/qemu-api/src/device_class.rs | 29 ++---
> 1 file changed, 6 insertions(+)
Use the "struct update" syntax to initialize most of the fields to zero,
and simplify the handmade type-checking of $name.
Signed-off-by: Paolo Bonzini
---
rust/qemu-api/src/device_class.rs | 29 ++---
1 file changed, 6 insertions(+), 23 deletions(-)
diff --git a/rust/qe