From 9ededd48f58dd5d90d00f33f2e912764695405ef Mon Sep 17 00:00:00 2001 From: rzvxa Date: Thu, 6 Jun 2024 16:32:05 +0330 Subject: [PATCH] fix: clippy warnings. --- crates/oxc_semantic/src/control_flow/mod.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/crates/oxc_semantic/src/control_flow/mod.rs b/crates/oxc_semantic/src/control_flow/mod.rs index 66cb65ded8e3b6..bf8c2fddc5d1e7 100644 --- a/crates/oxc_semantic/src/control_flow/mod.rs +++ b/crates/oxc_semantic/src/control_flow/mod.rs @@ -1,19 +1,17 @@ mod builder; mod dot; -use itertools::Itertools; -use oxc_ast::AstKind; use oxc_span::CompactStr; use oxc_syntax::operator::{ AssignmentOperator, BinaryOperator, LogicalOperator, UnaryOperator, UpdateOperator, }; use petgraph::{ stable_graph::NodeIndex, - visit::{depth_first_search, Control, DfsEvent, EdgeRef}, - Direction, Graph, + visit::{depth_first_search, Control, DfsEvent}, + Graph, }; -use crate::{AstNodeId, AstNodes}; +use crate::AstNodeId; pub use builder::{ControlFlowGraphBuilder, CtxCursor, CtxFlags}; pub use dot::{DebugDot, DebugDotContext, DisplayDot};