Skip to content

Commit

Permalink
rustfmt.toml mod.rs lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgo committed Apr 9, 2024
1 parent b22acf8 commit 3bcf0d7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
1 change: 1 addition & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
group_imports = "One"
tab_spaces = 2
7 changes: 2 additions & 5 deletions src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,15 @@ mod json_schema;
mod pitstop;
mod stats;

// re-exports
use crate::check::Issue;
use crate::Fix;
pub use check::check;
pub use fix::fix;
pub use init::init;
pub use json_schema::json_schema;
pub use pitstop::pitstop;
pub use stats::stats;

// used locally
use crate::check::Issue;
use crate::Fix;

/// The inner API of the check subsystem.
/// This data structure is returned by the probes.
/// It contains highly structured, semantically meaningful data
Expand Down
5 changes: 1 addition & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@ pub mod input;
mod output;
pub mod test;

// exports
pub use config::Config;
pub use fix::Fix;

// used locally
use database::Tikibase;
pub use fix::Fix;
use input::Command;
pub use output::{Message, Messages};

Expand Down

0 comments on commit 3bcf0d7

Please sign in to comment.