mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 09:10:08 +00:00
remove extra clone
This commit is contained in:
parent
e58a2a3a90
commit
bf290a9648
@ -148,7 +148,7 @@ fn find(
|
|||||||
None, // unlimited
|
None, // unlimited
|
||||||
) {
|
) {
|
||||||
text_buffer.apply_tag(found_tag, &start, &end);
|
text_buffer.apply_tag(found_tag, &start, &end);
|
||||||
next = end.clone();
|
next = end;
|
||||||
result.push((start, end));
|
result.push((start, end));
|
||||||
}
|
}
|
||||||
result
|
result
|
||||||
|
Loading…
x
Reference in New Issue
Block a user