Skip to content

Commit 1488513

Browse files
committed
style: move main() imports into function
1 parent 056c160 commit 1488513

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
mod args;
22

3-
use clap::{CommandFactory, Parser};
4-
use tracing::{error, info};
5-
63
#[tokio::main]
74
async fn main() {
5+
use clap::{CommandFactory, Parser};
6+
use tracing::{error, info};
7+
88
// Parse command-line arguments.
99
let opts = crate::args::Args::parse();
1010

0 commit comments

Comments
 (0)