diff --git a/src/data/setbundle/code.rs b/src/data/setbundle/code.rs index 5a78438..7e6e628 100644 --- a/src/data/setbundle/code.rs +++ b/src/data/setbundle/code.rs @@ -80,7 +80,7 @@ impl CardCode { /// Find, in a [`CardIndex`], the [`Card`] this code belongs to. pub fn to_card<'c>(&self, cards: &'c CardIndex) -> Option<&'c Card> { - cards.get(&self) + cards.get(self) } }