mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +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
|
// Create new label for item
|
||||||
let item = Label::new(Some(label));
|
let item = Label::new(Some(label));
|
||||||
|
|
||||||
|
// Append formatted record
|
||||||
|
self.model.append(&item);
|
||||||
|
|
||||||
// Register ID in hash map index
|
// Register ID in hash map index
|
||||||
self.index
|
self.index
|
||||||
.borrow_mut()
|
.borrow_mut()
|
||||||
.insert(item.clone(), profile_identity_gemini_id);
|
.insert(item, profile_identity_gemini_id);
|
||||||
|
|
||||||
// Append formatted record
|
|
||||||
self.model.append(&item);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Events
|
// Events
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue