diff --git a/src/defck.rs b/src/defck.rs index 975cb51..4eb0c5e 100644 --- a/src/defck.rs +++ b/src/defck.rs @@ -35,8 +35,8 @@ pub struct DefResult { impl DefResult { /// Returns the definition axiom for the given syntax axiom. #[must_use] - pub fn definition_for(&self, syntax_axiom: Label) -> Option<&Label> { - self.def_map.get(&syntax_axiom) + pub fn definition_for(&self, syntax_axiom: Label) -> Option