Browse Source

andy vs clippy round 8

sendgc
andy 3 years ago
parent
commit
f2c4094b8f
  1. 2
      src/entity/gateway/inmemory.rs

2
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)
}

Loading…
Cancel
Save