Skip to content

Commit

Permalink
Fixed clippy lints which complained about unused re-exports
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-k committed Dec 14, 2023
1 parent 17ba4ec commit 62ff112
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions argmin-math/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,21 +212,25 @@ cfg_if::cfg_if! {
#[cfg(feature = "primitives")]
mod primitives;
#[cfg(feature = "primitives")]
#[allow(unused_imports)]
pub use crate::primitives::*;

#[cfg(feature = "ndarray_all")]
mod ndarray_m;
#[cfg(feature = "ndarray_all")]
#[allow(unused_imports)]
pub use crate::ndarray_m::*;

#[cfg(feature = "nalgebra_all")]
mod nalgebra_m;
#[cfg(feature = "nalgebra_all")]
#[allow(unused_imports)]
pub use crate::nalgebra_m::*;

#[cfg(feature = "vec")]
mod vec;
#[cfg(feature = "vec")]
#[allow(unused_imports)]
pub use crate::vec::*;

use anyhow::Error;
Expand Down
2 changes: 2 additions & 0 deletions argmin-math/src/nalgebra_m/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// http://opensource.org/licenses/MIT>, at your option. This file may not be
// copied, modified, or distributed except according to those terms.

#![allow(unused_imports)]

mod add;
mod conj;
mod div;
Expand Down
2 changes: 2 additions & 0 deletions argmin-math/src/ndarray_m/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// http://opensource.org/licenses/MIT>, at your option. This file may not be
// copied, modified, or distributed except according to those terms.

#![allow(unused_imports)]

mod add;
mod conj;
mod div;
Expand Down
2 changes: 2 additions & 0 deletions argmin-math/src/primitives/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// http://opensource.org/licenses/MIT>, at your option. This file may not be
// copied, modified, or distributed except according to those terms.

#![allow(unused_imports)]

mod add;
mod conj;
mod div;
Expand Down
2 changes: 2 additions & 0 deletions argmin-math/src/vec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// http://opensource.org/licenses/MIT>, at your option. This file may not be
// copied, modified, or distributed except according to those terms.

#![allow(unused_imports)]

mod add;
mod conj;
mod div;
Expand Down

0 comments on commit 62ff112

Please sign in to comment.