Skip to content

Commit

Permalink
Remove unnecessary calls to as_ref()
Browse files Browse the repository at this point in the history
Co-authored-by: Omar Tawfik <[email protected]>
  • Loading branch information
ggiraldez and OmarTawfik committed May 29, 2024
1 parent 241126c commit 3be892c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/codegen/spec/src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ impl SpecTopic {
item: precedence_item,
} = item
{
for precedence_expr in &precedence_item.as_ref().precedence_expressions {
items.push(precedence_expr.as_ref().name.clone());
for precedence_expr in &precedence_item.precedence_expressions {
items.push(precedence_expr.name.clone());
}
}
}
Expand Down

0 comments on commit 3be892c

Please sign in to comment.