fmt+clippy

This commit is contained in:
Anton-4 2021-08-21 20:21:35 +02:00
parent fe1a2c35ff
commit 04a0a220b3
12 changed files with 48 additions and 47 deletions

View file

@ -562,7 +562,7 @@ impl IdentIds {
match ident_id_ref_opt {
Some(ident_id_ref) => {
let ident_id = (*ident_id_ref).clone();
let ident_id = *ident_id_ref;
self.by_ident.remove(&old_ident);
self.by_ident.insert(new_ident_name.into(), ident_id);