Skip to content

Commit

Permalink
Fix clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
Pialex99 committed Jan 6, 2023
1 parent 35f6f7f commit 85db2fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vir/src/legacy/ast/predicate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ impl Predicate {
Predicate::Struct(p) => &p.name,
Predicate::Enum(p) => &p.name,
Predicate::Bodyless(ref name, _) => name,
Predicate::ResourceAccess(typ) => &typ,
Predicate::ResourceAccess(typ) => typ,
}
}
pub fn body(&self) -> Option<Expr> {
Expand Down

0 comments on commit 85db2fb

Please sign in to comment.