Skip to content

Commit

Permalink
chore: run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
donovanglover committed Oct 16, 2024
1 parent b1c3d6b commit 998624b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/cli/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mod styles;
mod long_about;
mod options;
mod styles;

pub use styles::*;
pub use long_about::*;
pub use options::*;
pub use styles::*;
2 changes: 1 addition & 1 deletion src/cli/options.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use clap::Parser;

use crate::cli::LONG_ABOUT;
use crate::cli::styles;
use crate::cli::LONG_ABOUT;

#[derive(Parser)]
#[command(author, version, about, long_about = LONG_ABOUT, styles = styles())]
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ use queries::is_single;
use queries::is_special;
use state::DimState;
use state::LiveState;
use ui::clap;
use std::sync::atomic::Ordering;
use std::sync::Arc;
use ui::clap;
use ui::ctrlc;
use ui::single_instance;
use utils::log;
Expand Down
2 changes: 1 addition & 1 deletion src/ui/clap.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use clap::Parser;
use crate::cli::Cli;
use clap::Parser;

pub fn clap() -> Cli {
Cli::parse()
Expand Down
4 changes: 2 additions & 2 deletions src/ui/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mod ctrlc;
pub mod clap;
mod ctrlc;
mod single_instance;

pub use ctrlc::*;
pub use clap::*;
pub use ctrlc::*;
pub use single_instance::*;

0 comments on commit 998624b

Please sign in to comment.