Replace clone with deref

This commit is contained in:
Agus Zubiaga 2025-08-11 20:45:54 -03:00
parent cc396a5e36
commit 217a2ef351

View file

@ -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| {