Skip to content

Commit

Permalink
Do not redundantly import std::iter::IntoIterator
Browse files Browse the repository at this point in the history
Rust now warns about duplicate imports. `std::iter::IntoIterator` is
part of the Rust prelude since Rust 2015. This prevents
`criterion-plot` from compiling with recent Rust versions because of
`#![deny(warnings)]`.
  • Loading branch information
samueltardieu committed Mar 26, 2024
1 parent b1502c1 commit 3308859
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion plot/src/axis.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//! Coordinate axis
use std::borrow::Cow;
use std::iter::IntoIterator;

use crate::map;
use crate::traits::{Configure, Data, Set};
Expand Down
1 change: 0 additions & 1 deletion plot/src/candlestick.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//! "Candlestick" plots
use std::borrow::Cow;
use std::iter::IntoIterator;

use crate::data::Matrix;
use crate::traits::{self, Data, Set};
Expand Down
1 change: 0 additions & 1 deletion plot/src/curve.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//! Simple "curve" like plots
use std::borrow::Cow;
use std::iter::IntoIterator;

use crate::data::Matrix;
use crate::traits::{self, Data, Set};
Expand Down
1 change: 0 additions & 1 deletion plot/src/errorbar.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//! Error bar plots
use std::borrow::Cow;
use std::iter::IntoIterator;

use crate::data::Matrix;
use crate::traits::{self, Data, Set};
Expand Down
1 change: 0 additions & 1 deletion plot/src/filledcurve.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//! Filled curve plots
use std::borrow::Cow;
use std::iter::IntoIterator;

use crate::data::Matrix;
use crate::traits::{self, Data, Set};
Expand Down

0 comments on commit 3308859

Please sign in to comment.