aboutsummaryrefslogtreecommitdiff
path: root/copypasta/src/lib.rs
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2018-07-21 17:17:41 +0000
committerGitHub <noreply@github.com>2018-07-21 17:17:41 +0000
commitf50ca1a54c94fe324d22d985c1acae1ff7c16a80 (patch)
tree7fc2e79f7dccf512fe71f841ef5434e0b1d2b5d7 /copypasta/src/lib.rs
parentb05ad74fe6d42ce0f913e02ef633ca119fc0b43e (diff)
downloadr-alacritty-f50ca1a54c94fe324d22d985c1acae1ff7c16a80.tar.gz
r-alacritty-f50ca1a54c94fe324d22d985c1acae1ff7c16a80.tar.bz2
r-alacritty-f50ca1a54c94fe324d22d985c1acae1ff7c16a80.zip
Scrollback cleanup
There were some unneeded codeblocks and TODO/XXX comments in the code that have been removed. All issues marked with TODO/XXX have either been already resolved or tracking issues exist.
Diffstat (limited to 'copypasta/src/lib.rs')
-rw-r--r--copypasta/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/copypasta/src/lib.rs b/copypasta/src/lib.rs
index 2857ce82..f0b3c53e 100644
--- a/copypasta/src/lib.rs
+++ b/copypasta/src/lib.rs
@@ -1,5 +1,7 @@
//! A cross-platform clipboard library
+#![cfg_attr(feature = "cargo-clippy", deny(clippy, if_not_else, enum_glob_use, wrong_pub_self_convention))]
+
// This has to be here due to macro_use
#[cfg(target_os = "macos")]
#[macro_use] extern crate objc;