From 4024c4846e753801b981a607317256588e7195d3 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 25 Jul 2023 21:30:50 -0400 Subject: [PATCH] chore: Fix use order with cargo fmt --- build.rs | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.rs b/build.rs index 764064a..9cbc83d 100644 --- a/build.rs +++ b/build.rs @@ -1,9 +1,9 @@ include!("src/cli.rs"); -use clap_mangen::Man; use clap::CommandFactory; use clap_complete::generate_to; use clap_complete::Shell::{Bash, Fish, Zsh}; +use clap_mangen::Man; fn generate_man_pages() { let man_dir = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("man"); diff --git a/src/main.rs b/src/main.rs index 176a395..cbef517 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,8 +3,8 @@ use hyprland::keyword::*; use hyprland::shared::Address; use std::{thread, time}; pub mod cli; -use cli::Cli; use clap::Parser; +use cli::Cli; // (1): Keep track of how many threads are running static mut I: i32 = 0;