font::fc: Remove unneeded clone

This commit is contained in:
Harlan Lieberman-Berg 2017-03-01 21:48:37 -05:00 committed by Joe Wilm
parent 7bb89e50df
commit 55876522a2
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ impl FreeTypeRasterizer {
None => {
debug!("Miss for font {:?}", path);
let face = self.library.new_face(path.clone(), index)?;
let face = self.library.new_face(&path, index)?;
let key = FontKey::next();
self.faces.insert(key, face);
self.keys.insert(path, key);