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};