From 138919907b40de0904727b289058ab18d224d795 Mon Sep 17 00:00:00 2001 From: one230six <723682061@qq.com> Date: Wed, 13 Mar 2024 15:37:24 +0800 Subject: [PATCH] refactor: Optimize code based on cargo clippy suggestions Signed-off-by: one230six <723682061@qq.com> --- src/walk.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/walk.rs b/src/walk.rs index 6f83365..08ff3fe 100644 --- a/src/walk.rs +++ b/src/walk.rs @@ -12,7 +12,7 @@ use anyhow::{anyhow, Result}; use crossbeam_channel::{bounded, Receiver, RecvTimeoutError, SendError, Sender}; use etcetera::BaseStrategy; use ignore::overrides::{Override, OverrideBuilder}; -use ignore::{self, WalkBuilder, WalkParallel, WalkState}; +use ignore::{WalkBuilder, WalkParallel, WalkState}; use regex::bytes::Regex; use crate::config::Config;