aboutsummaryrefslogtreecommitdiff
path: root/font/src/ft/list_fonts.rs
diff options
context:
space:
mode:
authorHarlan Lieberman-Berg <hlieberman@setec.io>2017-02-27 21:49:00 -0500
committerJoe Wilm <jwilm@users.noreply.github.com>2017-03-01 22:07:14 -0800
commit6ed7d99453c03dc5c739018cd0c7b880cf55ea75 (patch)
treed012272f3d383b8d1c39a6073740d417cd6d7d36 /font/src/ft/list_fonts.rs
parent50f27af643f6edd5c0820c49bf09122afe018763 (diff)
downloadalacritty-6ed7d99453c03dc5c739018cd0c7b880cf55ea75.tar.gz
alacritty-6ed7d99453c03dc5c739018cd0c7b880cf55ea75.zip
Switch over to using font_match everywhere.
Diffstat (limited to 'font/src/ft/list_fonts.rs')
-rw-r--r--font/src/ft/list_fonts.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/font/src/ft/list_fonts.rs b/font/src/ft/list_fonts.rs
index 0789bbd6..fdadea82 100644
--- a/font/src/ft/list_fonts.rs
+++ b/font/src/ft/list_fonts.rs
@@ -63,7 +63,6 @@ pub mod fc {
}
/// Find the font closest matching the provided pattern.
- #[allow(dead_code)]
pub fn font_match(
config: &ConfigRef,
pattern: &mut PatternRef,
@@ -90,6 +89,7 @@ pub mod fc {
}
/// list fonts by closeness to the pattern
+ #[allow(dead_code)]
pub fn font_sort(
config: &ConfigRef,
pattern: &mut PatternRef,