Skip to content

Commit

Permalink
clean up imports for new clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ntBre committed Feb 29, 2024
1 parent 97f9040 commit 8a5cfb4
Show file tree
Hide file tree
Showing 16 changed files with 4 additions and 35 deletions.
1 change: 0 additions & 1 deletion spectro/src/tests.rs
Expand Up @@ -11,7 +11,6 @@ use nalgebra as na;
use std::fs::read_to_string;
use std::io::{BufRead, BufReader};
use std::ops::Sub;
use std::path::Path;

mod alphaa;
mod alphas;
Expand Down
2 changes: 1 addition & 1 deletion spectro/src/tests/alphaa.rs
@@ -1,4 +1,4 @@
use std::path::{Path, PathBuf};
use std::path::PathBuf;

use approx::{abs_diff_ne, assert_abs_diff_eq};
use nalgebra::dmatrix;
Expand Down
2 changes: 0 additions & 2 deletions spectro/src/tests/bench.rs
@@ -1,5 +1,3 @@
use crate::consts::FACT2;

use super::*;

extern crate test;
Expand Down
2 changes: 1 addition & 1 deletion spectro/src/tests/enrgy.rs
@@ -1,4 +1,4 @@
use std::path::{Path, PathBuf};
use std::path::PathBuf;

use crate::consts::FACT2;
use crate::resonance::Restst;
Expand Down
2 changes: 0 additions & 2 deletions spectro/src/tests/force3.rs
@@ -1,5 +1,3 @@
use std::path::Path;

use crate::{consts::FACT2, utils::linalg::symm_eigen_decomp, *};

use super::check_vec;
Expand Down
2 changes: 0 additions & 2 deletions spectro/src/tests/force4.rs
@@ -1,5 +1,3 @@
use std::path::Path;

use crate::{consts::FACT2, utils::linalg::symm_eigen_decomp, *};

use super::check_vec;
Expand Down
1 change: 0 additions & 1 deletion spectro/src/tests/load.rs
@@ -1,7 +1,6 @@
use std::str::FromStr;

use crate::dummy::DummyVal;
use crate::load::process_geom;
use crate::Curvil::*;
use crate::*;

Expand Down
5 changes: 0 additions & 5 deletions spectro/src/tests/lxm.rs
@@ -1,9 +1,4 @@
use std::path::Path;

use approx::assert_abs_diff_eq;
use nalgebra::DefaultAllocator;

use crate::{consts::FACT2, utils::linalg::symm_eigen_decomp};

use super::*;

Expand Down
2 changes: 0 additions & 2 deletions spectro/src/tests/restst.rs
@@ -1,5 +1,3 @@
use std::path::Path;

use crate::{
consts::FACT2,
resonance::{Darling, Restst},
Expand Down
1 change: 0 additions & 1 deletion spectro/src/tests/rot2nd.rs
@@ -1,6 +1,5 @@
use super::load_dmat;
use crate::*;
use std::path::Path;

#[derive(Clone)]
struct Test {
Expand Down
5 changes: 1 addition & 4 deletions spectro/src/tests/run.rs
@@ -1,7 +1,4 @@
use std::{
fs::read_to_string,
path::{Path, PathBuf},
};
use std::{fs::read_to_string, path::PathBuf};

use approx::abs_diff_eq;
use serde::Deserialize;
Expand Down
2 changes: 0 additions & 2 deletions spectro/src/tests/secular.rs
@@ -1,5 +1,3 @@
use std::path::Path;

use approx::abs_diff_ne;

use crate::{consts::FACT2, *};
Expand Down
4 changes: 1 addition & 3 deletions spectro/src/tests/sextic.rs
@@ -1,6 +1,4 @@
use std::path::Path;

use crate::{consts::FACT2, sextic::Sextic, *};
use crate::{sextic::Sextic, *};

use super::*;

Expand Down
2 changes: 0 additions & 2 deletions spectro/src/tests/xcalc.rs
@@ -1,5 +1,3 @@
use std::path::Path;

use approx::assert_abs_diff_eq;

use crate::{consts::FACT2, resonance::Restst, *};
Expand Down
2 changes: 0 additions & 2 deletions spectro/src/tests/xcals.rs
@@ -1,5 +1,3 @@
use std::path::Path;

use approx::{abs_diff_eq, assert_abs_diff_eq};

use crate::{consts::FACT2, resonance::Restst, *};
Expand Down
4 changes: 0 additions & 4 deletions spectro/src/tests/zeta.rs
@@ -1,7 +1,3 @@
use std::path::Path;

use crate::{consts::FACT2, utils::linalg::symm_eigen_decomp};

use super::*;

#[derive(Clone)]
Expand Down

0 comments on commit 8a5cfb4

Please sign in to comment.