aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs3
-rw-r--r--src/util.rs1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index afbd8595..d6229ee7 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -110,9 +110,6 @@ impl Mul<f32> for Rgb {
}
-#[cfg_attr(feature = "clippy", allow(too_many_arguments))]
-#[cfg_attr(feature = "clippy", allow(doc_markdown))]
-#[cfg_attr(feature = "clippy", allow(unreadable_literal))]
#[allow(unused_mut)]
pub mod gl {
#![allow(non_upper_case_globals)]
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
}