remove extra clone

This commit is contained in:
yggverse 2024-12-15 17:30:39 +02:00
parent e58a2a3a90
commit bf290a9648

View File

@ -148,7 +148,7 @@ fn find(
None, // unlimited
) {
text_buffer.apply_tag(found_tag, &start, &end);
next = end.clone();
next = end;
result.push((start, end));
}
result