Apply clippy suggestion
This commit is contained in:
parent
fb0f8a4d91
commit
fbd8b2be54
@ -215,20 +215,20 @@ impl Parse for RumaEventField {
|
||||
.into_iter()
|
||||
.collect();
|
||||
|
||||
Ok(RumaEventField::InlineStruct(FieldInlineStruct {
|
||||
Ok(Self::InlineStruct(FieldInlineStruct {
|
||||
attrs,
|
||||
member,
|
||||
colon_token,
|
||||
fields,
|
||||
}))
|
||||
}
|
||||
"content_type_alias" => Ok(RumaEventField::Block(FieldBlock {
|
||||
"content_type_alias" => Ok(Self::Block(FieldBlock {
|
||||
attrs: input.call(Attribute::parse_outer)?,
|
||||
member: input.parse()?,
|
||||
colon_token: input.parse()?,
|
||||
typedef: input.parse()?,
|
||||
})),
|
||||
_ => Ok(RumaEventField::Value(input.parse()?)),
|
||||
_ => Ok(Self::Value(input.parse()?)),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user