aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Algesten <martin@algesten.se>2017-05-31 19:23:11 +0100
committerJoe Wilm <jwilm@users.noreply.github.com>2017-06-01 09:47:58 -0700
commit8776b7ebd5cc5552b1b983b2d64991355d0b27cc (patch)
treeb1ec7119f60f353e71b60257fef4a4fdd1580a3a
parent1fb2c843be3a63eef15c276be0400f8fe5f2b648 (diff)
downloadalacritty-8776b7ebd5cc5552b1b983b2d64991355d0b27cc.tar.gz
alacritty-8776b7ebd5cc5552b1b983b2d64991355d0b27cc.zip
avoid named field shorthand
-rw-r--r--src/renderer/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs
index 27d1cbfc..7c1c011b 100644
--- a/src/renderer/mod.rs
+++ b/src/renderer/mod.rs
@@ -185,7 +185,7 @@ impl GlyphCache {
let style = if let Some(ref spec) = desc.style {
font::Style::Specific(spec.to_owned())
} else {
- font::Style::Description {slant, weight}
+ font::Style::Description {slant:slant, weight:weight}
};
FontDesc::new(&desc.family[..], style)
}