mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
remove extra clone
This commit is contained in:
parent
6b5e712cdf
commit
5d647518c0
1 changed files with 4 additions and 4 deletions
|
|
@ -30,13 +30,13 @@ impl List {
|
|||
// Create new label for item
|
||||
let item = Label::new(Some(label));
|
||||
|
||||
// Append formatted record
|
||||
self.model.append(&item);
|
||||
|
||||
// Register ID in hash map index
|
||||
self.index
|
||||
.borrow_mut()
|
||||
.insert(item.clone(), profile_identity_gemini_id);
|
||||
|
||||
// Append formatted record
|
||||
self.model.append(&item);
|
||||
.insert(item, profile_identity_gemini_id);
|
||||
}
|
||||
|
||||
// Events
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue