diff options
author | Harlan Lieberman-Berg <hlieberman@setec.io> | 2017-03-01 21:48:37 -0500 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-03-01 22:07:14 -0800 |
commit | 55876522a2f4f93ea9ee0e1b4fec9d81621ae0cf (patch) | |
tree | 5761c743351727de2d4c36ea5a8a93ea05fdbda9 | |
parent | 7bb89e50dfc473bd318907be6ba89a98fbe27303 (diff) | |
download | alacritty-55876522a2f4f93ea9ee0e1b4fec9d81621ae0cf.tar.gz alacritty-55876522a2f4f93ea9ee0e1b4fec9d81621ae0cf.zip |
font::fc: Remove unneeded clone
-rw-r--r-- | font/src/ft/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/font/src/ft/mod.rs b/font/src/ft/mod.rs index a199f1cb..82f06776 100644 --- a/font/src/ft/mod.rs +++ b/font/src/ft/mod.rs @@ -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); |