mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
fmt+clippy
This commit is contained in:
parent
fe1a2c35ff
commit
04a0a220b3
12 changed files with 48 additions and 47 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue