diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2019-06-09 19:52:48 +0200 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-06-09 17:52:48 +0000 |
commit | f59aa19892724f41e3a56817fb69e95413312920 (patch) | |
tree | d018bc4855b0650d5ad5fd2b43c8949488df9099 /font | |
parent | 55d346c7d44215c51187cafcac79e3504209f942 (diff) | |
download | alacritty-f59aa19892724f41e3a56817fb69e95413312920.tar.gz alacritty-f59aa19892724f41e3a56817fb69e95413312920.zip |
Fix compiler warnings
Diffstat (limited to 'font')
-rw-r--r-- | font/src/ft/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/font/src/ft/mod.rs b/font/src/ft/mod.rs index d1765a5d..6be62562 100644 --- a/font/src/ft/mod.rs +++ b/font/src/ft/mod.rs @@ -539,7 +539,7 @@ pub enum Error { } impl ::std::error::Error for Error { - fn cause(&self) -> Option<&::std::error::Error> { + fn cause(&self) -> Option<&dyn (::std::error::Error)> { match *self { Error::FreeType(ref err) => Some(err), _ => None, |