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:
parent
7bb89e50df
commit
55876522a2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue