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