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/directwrite/mod.rs | |
parent | 521a58d691c815a739e131f0d02cd602c7d14639 (diff) | |
download | alacritty-5f039cee49b9c817177c6feecc5e7d97fb0a57e1.tar.gz alacritty-5f039cee49b9c817177c6feecc5e7d97fb0a57e1.zip |
Remove alacritty.yml mentions from font crate errors
Diffstat (limited to 'font/src/directwrite/mod.rs')
-rw-r--r-- | font/src/directwrite/mod.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/font/src/directwrite/mod.rs b/font/src/directwrite/mod.rs index c442cae9..d139b35e 100644 --- a/font/src/directwrite/mod.rs +++ b/font/src/directwrite/mod.rs @@ -266,12 +266,7 @@ impl Display for Error { fn fmt(&self, f: &mut Formatter) -> fmt::Result { match self { Error::MissingGlyph(c) => write!(f, "Glyph not found for char {:?}", c), - Error::MissingFont(desc) => write!( - f, - "Couldn't find a font with {}\n\tPlease check the font config in your \ - alacritty.yml.", - desc - ), + Error::MissingFont(desc) => write!(f, "Unable to find the font {}", desc), Error::FontNotLoaded => f.write_str("Tried to use a font that hasn't been loaded"), Error::DirectWriteError(hresult) => { write!(f, "A DirectWrite rendering error occurred: {:#X}", hresult) |