diff --git a/src/grammar/symbol.rs b/src/grammar/symbol.rs index 80e8d56..182be86 100644 --- a/src/grammar/symbol.rs +++ b/src/grammar/symbol.rs @@ -53,7 +53,7 @@ impl From for Ty { impl Hash for Ty { fn hash(&self, state: &mut H) { match self { - Ty::Untyped => ().hash(state), + Ty::Untyped => { /* do nothing */ } Ty::Typed(s) => s.hash(state), } }