Remove unneccessary clone
This commit is contained in:
parent
11f3981a2d
commit
dd675bcbd5
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ impl Index {
|
|||
|
||||
self.items_by_file_id.insert(item.id.clone(), item.clone());
|
||||
self.newest_items_by_source_path
|
||||
.insert(original_source_path.to_string_lossy().to_string(), item.clone());
|
||||
.insert(original_source_path.to_string_lossy().to_string(), item);
|
||||
}
|
||||
|
||||
pub fn repository_item(&self, i: &IndexItem) -> RepositoryItem {
|
||||
|
|
Loading…
Reference in a new issue