aboutsummaryrefslogtreecommitdiff
path: root/font/src/ft/fc/mod.rs
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2018-07-01 16:31:46 +0000
committerGitHub <noreply@github.com>2018-07-01 16:31:46 +0000
commit12afbd007db8a8995617b3e7ebda3840860bbadc (patch)
treea0de7c3db93b18b5edbbe44ab2f6b179ae6acc28 /font/src/ft/fc/mod.rs
parentd5690f6cc75908d81d0eccf57e62d486c13d34f5 (diff)
downloadalacritty-12afbd007db8a8995617b3e7ebda3840860bbadc.tar.gz
alacritty-12afbd007db8a8995617b3e7ebda3840860bbadc.zip
Fix clippy issues
Diffstat (limited to 'font/src/ft/fc/mod.rs')
-rw-r--r--font/src/ft/fc/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/font/src/ft/fc/mod.rs b/font/src/ft/fc/mod.rs
index ac0c9442..865f63c9 100644
--- a/font/src/ft/fc/mod.rs
+++ b/font/src/ft/fc/mod.rs
@@ -180,9 +180,9 @@ pub enum Width {
}
impl Width {
- fn to_isize(&self) -> isize {
+ fn to_isize(self) -> isize {
use self::Width::*;
- match *self {
+ match self {
Ultracondensed => 50,
Extracondensed => 63,
Condensed => 75,