diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2020-07-11 04:01:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-11 04:01:45 +0300 |
commit | 5f039cee49b9c817177c6feecc5e7d97fb0a57e1 (patch) | |
tree | 617341d30269b53c8997b5963dd112a187adcca6 /font/src/ft | |
parent | 521a58d691c815a739e131f0d02cd602c7d14639 (diff) | |
download | alacritty-5f039cee49b9c817177c6feecc5e7d97fb0a57e1.tar.gz alacritty-5f039cee49b9c817177c6feecc5e7d97fb0a57e1.zip |
Remove alacritty.yml mentions from font crate errors
Diffstat (limited to 'font/src/ft')
-rw-r--r-- | font/src/ft/mod.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/font/src/ft/mod.rs b/font/src/ft/mod.rs index 0798e087..07d5729b 100644 --- a/font/src/ft/mod.rs +++ b/font/src/ft/mod.rs @@ -769,12 +769,7 @@ impl Display for Error { fn fmt(&self, f: &mut Formatter) -> fmt::Result { match self { Error::FreeType(err) => err.fmt(f), - Error::MissingFont(err) => write!( - f, - "Couldn't find a font with {}\n\tPlease check the font config in your \ - alacritty.yml.", - err - ), + Error::MissingFont(err) => write!(f, "Unable to find the font {}", err), Error::FontNotLoaded => f.write_str("Tried to use a font that hasn't been loaded"), Error::MissingSizeMetrics => { f.write_str("Tried to get size metrics from a face without a size") |