Skip to content

Commit

Permalink
style: move main() imports into function
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverNChalk committed Feb 6, 2025
1 parent 056c160 commit 1488513
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
mod args;

use clap::{CommandFactory, Parser};
use tracing::{error, info};

#[tokio::main]
async fn main() {
use clap::{CommandFactory, Parser};
use tracing::{error, info};

// Parse command-line arguments.
let opts = crate::args::Args::parse();

Expand Down

0 comments on commit 1488513

Please sign in to comment.