Skip to content

Commit

Permalink
chore: Rustrover optimise imports
Browse files Browse the repository at this point in the history
  • Loading branch information
VorpalBlade committed Jul 27, 2024
1 parent 2c9d5ba commit f5f9151
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@
//!
//! The actual output is uses ANSI colour codes as well.
pub mod checks;
#[cfg(test)]
mod tests;

use std::cmp::max;
use std::io::Write;

Expand All @@ -41,6 +37,10 @@ use anstyle::Reset;
use strum::IntoStaticStr;
use thiserror::Error;

pub mod checks;
#[cfg(test)]
mod tests;

/// Error from medic
#[derive(Debug, Error)]
#[non_exhaustive]
Expand Down
3 changes: 2 additions & 1 deletion src/tests.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use pretty_assertions::assert_eq;

use crate::medic;
use crate::Check;
use crate::CheckResult;
use pretty_assertions::assert_eq;

#[test]
fn test_medic() {
Expand Down

0 comments on commit f5f9151

Please sign in to comment.