diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2018-07-03 00:11:24 +0200 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2018-07-02 22:11:24 +0000 |
commit | 21eb50aa50586ae95d553ae097cb1199334ac1c0 (patch) | |
tree | 85eca46c21a4e440c8c528c5efafc8c8162b8ec7 /font/src/lib.rs | |
parent | 985ba306c78857e07f3f267ab954ad069d30a465 (diff) | |
download | alacritty-21eb50aa50586ae95d553ae097cb1199334ac1c0.tar.gz alacritty-21eb50aa50586ae95d553ae097cb1199334ac1c0.zip |
Enable clippy in font/copypasta crates
Enabled clippy in the sub-crates font and copypasta. All issues
that were discovered by this change have also been fixed.
Diffstat (limited to 'font/src/lib.rs')
-rw-r--r-- | font/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/font/src/lib.rs b/font/src/lib.rs index ad94d084..fe9e9e85 100644 --- a/font/src/lib.rs +++ b/font/src/lib.rs @@ -17,6 +17,9 @@ //! CoreText is used on Mac OS. //! FreeType is used on everything that's not Mac OS. //! Eventually, ClearType support will be available for windows + +#![cfg_attr(feature = "cargo-clippy", deny(clippy, if_not_else, enum_glob_use, wrong_pub_self_convention))] + #[cfg(not(target_os = "macos"))] extern crate fontconfig; #[cfg(not(target_os = "macos"))] |