File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ macro_rules! vmstate_of {
208
208
. as_bytes( )
209
209
. as_ptr( ) as * const :: std:: os:: raw:: c_char,
210
210
offset: $crate:: offset_of!( $struct_name, $field_name) ,
211
- $( . num_offset: $crate:: offset_of!( $struct_name, $num) , ) ?
211
+ $( num_offset: $crate:: offset_of!( $struct_name, $num) , ) ?
212
212
// The calls to `call_func_with_field!` are the magic that
213
213
// computes most of the VMStateField from the type of the field.
214
214
info: $crate:: info_enum_to_ref!( $crate:: call_func_with_field!(
@@ -440,7 +440,7 @@ macro_rules! vmstate_struct {
440
440
name: :: core:: concat!( :: core:: stringify!( $field_name) , "\0 " )
441
441
. as_bytes( )
442
442
. as_ptr( ) as * const :: std:: os:: raw:: c_char,
443
- $( . num_offset: $crate:: offset_of!( $struct_name, $num) , ) ?
443
+ $( num_offset: $crate:: offset_of!( $struct_name, $num) , ) ?
444
444
offset: {
445
445
$crate:: assert_field_type!( $struct_name, $field_name, $type) ;
446
446
$crate:: offset_of!( $struct_name, $field_name)
You can’t perform that action at this time.
0 commit comments