mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +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
|
@ -15,7 +15,6 @@
|
|||
#![feature(plugin)]
|
||||
#![feature(str_char)]
|
||||
#![feature(unique)]
|
||||
#![feature(vec_push_all)]
|
||||
|
||||
#![plugin(plugins)]
|
||||
#![plugin(serde_macros)]
|
||||
|
|
|
@ -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