mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2025-01-03 15:34:18 +00:00
Remove unnecessary reference
This commit is contained in:
parent
618ebb4d50
commit
96613c6626
1 changed files with 1 additions and 1 deletions
|
@ -520,7 +520,7 @@ impl Deck {
|
|||
///
|
||||
pub fn cards_are_allowed_in(&self, cards: &CardIndex, format: CardFormat) -> bool {
|
||||
self.contents.keys()
|
||||
.map(|cc| cc.to_card(&cards))
|
||||
.map(|cc| cc.to_card(cards))
|
||||
.flatten()
|
||||
.all(|c| c.formats.contains(&format))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue