From e70ed0bbe7827c5c44fc57be20ed3be2d68815cd 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 75e1f05c4aef25..4c300a8d4788af 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};