From c38cb324f69440141cebd271a94179c46f679c5f Mon Sep 17 00:00:00 2001 From: Sean Bowe Date: Thu, 28 Sep 2017 11:31:46 -0600 Subject: [PATCH] Simplify `pairing_benches`. --- benches/pairing_benches.rs | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/benches/pairing_benches.rs b/benches/pairing_benches.rs index 43f3c6a..3ae12e0 100644 --- a/benches/pairing_benches.rs +++ b/benches/pairing_benches.rs @@ -1,21 +1,7 @@ -// `clippy` is a code linting tool for improving code quality by catching -// common mistakes or strange code patterns. If the `clippy` feature is -// provided, it is enabled and all compiler warnings are prohibited. -#![cfg_attr(feature = "clippy", deny(warnings))] -#![cfg_attr(feature = "clippy", feature(plugin))] -#![cfg_attr(feature = "clippy", plugin(clippy))] -#![cfg_attr(feature = "clippy", allow(inline_always))] -#![cfg_attr(feature = "clippy", allow(too_many_arguments))] -#![cfg_attr(feature = "clippy", allow(unreadable_literal))] +#![feature(test)] -// The compiler provides `test` (on nightly) for benchmarking tools, but -// it's hidden behind a feature flag. Enable it if we're testing. -#![cfg_attr(test, feature(test))] -#[cfg(test)] extern crate test; - extern crate rand; - extern crate pairing; mod bls12_381;