1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-25 14:05:41 -05:00

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

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);