font::fc: Remove unneeded clone
This commit is contained in:
parent
7bb89e50df
commit
55876522a2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue