diff --git a/src/entity/gateway/inmemory.rs b/src/entity/gateway/inmemory.rs index 5e65047..0af09bb 100644 --- a/src/entity/gateway/inmemory.rs +++ b/src/entity/gateway/inmemory.rs @@ -126,7 +126,7 @@ impl EntityGateway for InMemoryGateway { let guildcard = GuildCardDataEntity::new(UserAccountId(id)); // TODO: NewGuildcardDataEntity ? users.insert(user.id, user.clone()); - guildcards.insert(user.id, guildcard.clone()); + guildcards.insert(user.id, guildcard); Ok(user) }