mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Fix warnings: Use Vec.extend_from_slice instead of Vec.push_all
This commit is contained in:
parent
b756375637
commit
e8c12c1c6d
17 changed files with 23 additions and 30 deletions
|
@ -226,7 +226,7 @@ impl<'a> DetailedGlyphStore {
|
|||
*/
|
||||
|
||||
self.detail_lookup.push(entry);
|
||||
self.detail_buffer.push_all(glyphs);
|
||||
self.detail_buffer.extend_from_slice(glyphs);
|
||||
self.lookup_is_sorted = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue