mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-22 17:44:22 +00:00
Remove useless reference in CardCode::to_card
This commit is contained in:
parent
e6e9368082
commit
639d84da03
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue