mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-07 13:53:38 +00:00
bulk code format fix (#8707)
This commit is contained in:
@@ -156,12 +156,7 @@ fn verify_table(
|
||||
}
|
||||
_ => {
|
||||
return Err(FlatbufferError::TypeNotSupported(
|
||||
field
|
||||
.type_()
|
||||
.base_type()
|
||||
.variant_name()
|
||||
.unwrap_or_default()
|
||||
.to_string(),
|
||||
field.type_().base_type().variant_name().unwrap_or_default().to_string(),
|
||||
));
|
||||
}
|
||||
};
|
||||
@@ -342,12 +337,7 @@ fn verify_vector<'a, 'b, 'c>(
|
||||
}
|
||||
_ => {
|
||||
return Err(FlatbufferError::TypeNotSupported(
|
||||
field
|
||||
.type_()
|
||||
.base_type()
|
||||
.variant_name()
|
||||
.unwrap_or_default()
|
||||
.to_string(),
|
||||
field.type_().base_type().variant_name().unwrap_or_default().to_string(),
|
||||
))
|
||||
}
|
||||
}
|
||||
@@ -401,11 +391,7 @@ fn verify_union<'a, 'b, 'c>(
|
||||
}
|
||||
_ => {
|
||||
return Err(FlatbufferError::TypeNotSupported(
|
||||
enum_type
|
||||
.base_type()
|
||||
.variant_name()
|
||||
.unwrap_or_default()
|
||||
.to_string(),
|
||||
enum_type.base_type().variant_name().unwrap_or_default().to_string(),
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user