From 4387a7f391b3277bafa41fe5c58b0236bdae578f Mon Sep 17 00:00:00 2001 From: Vinzent Steinberg Date: Thu, 29 Apr 2021 20:57:27 -0300 Subject: [PATCH] Use correct feature and remove unused import --- benches/lib.rs | 2 +- benches/linalg/eigen.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/benches/lib.rs b/benches/lib.rs index a77cc743..1f75ff7e 100644 --- a/benches/lib.rs +++ b/benches/lib.rs @@ -1,4 +1,4 @@ -#![feature(test)] +#![feature(bench_black_box)] #![allow(unused_macros)] extern crate nalgebra as na; diff --git a/benches/linalg/eigen.rs b/benches/linalg/eigen.rs index 0b1e6b26..ec775d86 100644 --- a/benches/linalg/eigen.rs +++ b/benches/linalg/eigen.rs @@ -1,4 +1,3 @@ -use test::Bencher; use na::{DMatrix, Eigen}; fn eigen_100x100(bh: &mut criterion::Criterion) {