Skip to content

Commit fd50f6c

Browse files
committed
ci fix
1 parent b3054f8 commit fd50f6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shape.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ impl ShapeSpan {
726726
cached_words.clear();
727727
if line_rtl != level.is_rtl() {
728728
// Un-reverse previous words so the internal glyph counts match accurately when rewriting memory.
729-
cached_words.append(&mut words);
729+
cached_words.extend(words.drain(..));
730730
} else {
731731
cached_words.extend(words.drain(..).rev());
732732
}

0 commit comments

Comments
 (0)