We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3054f8 commit fd50f6cCopy full SHA for fd50f6c
src/shape.rs
@@ -726,7 +726,7 @@ impl ShapeSpan {
726
cached_words.clear();
727
if line_rtl != level.is_rtl() {
728
// Un-reverse previous words so the internal glyph counts match accurately when rewriting memory.
729
- cached_words.append(&mut words);
+ cached_words.extend(words.drain(..));
730
} else {
731
cached_words.extend(words.drain(..).rev());
732
}
0 commit comments