Fix rustfmt-caused clippy warning

This commit is contained in:
Koxiaet 2020-09-06 07:25:43 +01:00
parent 1c26ff124f
commit 26f7b60bbd

View File

@ -33,10 +33,7 @@ impl Document {
.zip(op.node.name.as_ref())
.map_or(false, |(required_name, op_name)| {
required_name != op_name.node
}) =>
{
()
}
}) => {}
Definition::Operation(op) => {
operation.get_or_insert(op);
}