Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ibigbug committed Sep 30, 2024
1 parent 32a659a commit cbe981b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clash_lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use app::{
profile,
};
use common::{auth, http::new_http_client, mmdb};
use config::{def::LogLevel, internal};
use config::def::LogLevel;
use once_cell::sync::OnceCell;
use proxy::tun::get_tun_runner;

Expand Down Expand Up @@ -178,7 +178,7 @@ async fn start_async(opts: Options) -> Result<(), Error> {

// things we need to clone before consuming config
let controller_cfg = config.general.controller.clone();
let log_level = config.general.log_level.clone();
let log_level = config.general.log_level;

let components = create_components(cwd.clone(), config).await?;

Expand Down

0 comments on commit cbe981b

Please sign in to comment.