1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-22 17:44:22 +00:00

Do not make group mutable in Deck::f1_group_cards

This commit is contained in:
Steffo 2022-08-22 18:19:20 +02:00
parent b432103c56
commit 5a17f7a724
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -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(_) => {