From f2c4094b8f510c55b0c04228d7a8b4ea6e903c53 Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 29 Apr 2022 22:41:12 +0000 Subject: [PATCH] andy vs clippy round 8 --- src/entity/gateway/inmemory.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }