Skip to content

Commit

Permalink
refactor: 🔨 Respect imports/modules declaration's ordering from Rust …
Browse files Browse the repository at this point in the history
…style guide
  • Loading branch information
AntwortEinesLebens committed Jan 17, 2025
1 parent 8799fb8 commit 203639e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
//
// SPDX-License-Identifier: GPL-3.0-or-later

pub mod generate;
pub mod traces;

use crate::commands::{generate::Generate, traces::Traces};
use clap::{Parser, Subcommand};
use std::process::ExitCode;

pub mod generate;
pub mod traces;

#[derive(Parser)]
#[clap(author, version)]
#[clap(arg_required_else_help = true)]
Expand Down
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
//
// SPDX-License-Identifier: GPL-3.0-or-later

mod commands;
mod windows;

use clap::Parser;
use commands::{Arguments, Runnable};
use std::process::ExitCode;

mod commands;
mod windows;

fn main() -> ExitCode {
Arguments::parse().run()
}

0 comments on commit 203639e

Please sign in to comment.