Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Remove unnecessary clone
Browse files Browse the repository at this point in the history
  • Loading branch information
gavofyork authored Jul 24, 2016
1 parent 22faaec commit ab67bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethstore/src/dir/parity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl KeyDirectory for ParityDirectory {
}

fn insert(&self, account: SafeAccount) -> Result<SafeAccount, Error> {
self.dir.insert(account.clone())
self.dir.insert(account)
}

fn remove(&self, address: &Address) -> Result<(), Error> {
Expand Down

0 comments on commit ab67bbf

Please sign in to comment.