From 8776b7ebd5cc5552b1b983b2d64991355d0b27cc Mon Sep 17 00:00:00 2001 From: Martin Algesten Date: Wed, 31 May 2017 19:23:11 +0100 Subject: avoid named field shorthand --- src/renderer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) } -- cgit v1.2.3-54-g00ecf