aboutsummaryrefslogtreecommitdiff
path: root/font/src/darwin
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2018-09-18 01:34:56 +0200
committerChristian Duerr <chrisduerr@users.noreply.github.com>2018-09-17 23:34:56 +0000
commit63a40df5203178bbea1ff1a6988e6d30b6f992f4 (patch)
treecdfef3dbeaf3fc53844574c58082c08cf4e7a202 /font/src/darwin
parent55e675a3d89922d9d7966cd7bccf0da9d9eff654 (diff)
downloadalacritty-63a40df5203178bbea1ff1a6988e6d30b6f992f4.tar.gz
alacritty-63a40df5203178bbea1ff1a6988e6d30b6f992f4.zip
Fix style issues
Diffstat (limited to 'font/src/darwin')
-rw-r--r--font/src/darwin/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/font/src/darwin/mod.rs b/font/src/darwin/mod.rs
index 2f9d5fe0..bbdb5662 100644
--- a/font/src/darwin/mod.rs
+++ b/font/src/darwin/mod.rs
@@ -68,7 +68,7 @@ impl Descriptor {
font_name: desc.font_name(),
style_name: desc.style_name(),
display_name: desc.display_name(),
- font_path: desc.font_path().unwrap_or_else(||{"".to_owned()}),
+ font_path: desc.font_path().unwrap_or_else(String::new),
ct_descriptor: desc,
}
}