Replace clone with deref
This commit is contained in:
parent
cc396a5e36
commit
217a2ef351
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ impl MentionSet {
|
|||
.iter()
|
||||
.map(|(crease_id, uri)| match uri {
|
||||
MentionUri::File(path) => {
|
||||
let crease_id = crease_id.clone();
|
||||
let crease_id = *crease_id;
|
||||
let uri = uri.clone();
|
||||
let path = path.to_path_buf();
|
||||
let buffer_task = project.update(cx, |project, cx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue