Fix warnings: Use Vec.extend_from_slice instead of Vec.push_all

This commit is contained in:
Tetsuharu OHZEKI 2015-12-10 15:58:12 -05:00
parent b756375637
commit e8c12c1c6d
17 changed files with 23 additions and 30 deletions

View file

@ -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;
}