mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 01:54:22 +00:00
Do not make group
mutable in Deck::f1_group_cards
This commit is contained in:
parent
b432103c56
commit
5a17f7a724
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ impl Deck {
|
||||||
// Create or insert groups
|
// Create or insert groups
|
||||||
match groups.get(&key) {
|
match groups.get(&key) {
|
||||||
None => {
|
None => {
|
||||||
let mut group = vec![*card];
|
let group = vec![*card];
|
||||||
groups.insert(key, group);
|
groups.insert(key, group);
|
||||||
}
|
}
|
||||||
Some(_) => {
|
Some(_) => {
|
||||||
|
|
Loading…
Reference in a new issue