Skip to content

Commit

Permalink
Fix cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
guipublic committed Oct 21, 2022
1 parent b978510 commit 4b7eeda
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions crates/noirc_evaluator/src/ssa/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,6 @@ impl ObjectType {
}
}

pub fn type_to_pointer(&self) -> ArrayId {
match self {
ObjectType::Pointer(a) => *a,
_ => unreachable!("Type is not a pointer",),
}
}

pub fn field_to_type(&self, f: FieldElement) -> FieldElement {
match self {
ObjectType::NotAnObject | ObjectType::Pointer(_) => {
Expand Down

0 comments on commit 4b7eeda

Please sign in to comment.