Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Devin-Yeung committed Nov 11, 2024
1 parent b7f8994 commit a62bb76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/grammar/symbol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl From<String> for Ty {
impl Hash for Ty {
fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
match self {
Ty::Untyped => ().hash(state),
Ty::Untyped => { /* do nothing */ }
Ty::Typed(s) => s.hash(state),
}
}
Expand Down

0 comments on commit a62bb76

Please sign in to comment.