aboutsummaryrefslogtreecommitdiff
path: root/src/util.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2018-07-01 22:20:29 +0200
committerChristian Duerr <chrisduerr@users.noreply.github.com>2018-07-01 20:20:29 +0000
commit985ba306c78857e07f3f267ab954ad069d30a465 (patch)
treeb953bb0f74620adeac7771c788f874aae872cc87 /src/util.rs
parent12f952df42941be8a94a90f9a029e041c9281142 (diff)
downloadalacritty-985ba306c78857e07f3f267ab954ad069d30a465.tar.gz
alacritty-985ba306c78857e07f3f267ab954ad069d30a465.zip
Remove unnecessary clippy lint annotations
We moved to "cargo clippy" in 5ba34d4f9766a55a06ed5e3e44cc384af1b09f65 and removing the clippy lint annotations in `src/lib.rs` does not cause any additional warnings. This also changes `cargo clippy` to use the flags required for checking integration tests.
Diffstat (limited to 'src/util.rs')
-rw-r--r--src/util.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/util.rs b/src/util.rs
index 062e7651..6065e01b 100644
--- a/src/util.rs
+++ b/src/util.rs
@@ -15,7 +15,6 @@ use std::cmp;
#[cfg(not(feature = "nightly"))]
#[inline(always)]
-#[cfg_attr(feature = "clippy", allow(inline_always))]
pub unsafe fn unlikely(x: bool) -> bool {
x
}