summaryrefslogtreecommitdiff
path: root/rust/src/flowgraph
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/flowgraph')
-rw-r--r--rust/src/flowgraph/edge.rs6
-rw-r--r--rust/src/flowgraph/node.rs3
2 files changed, 5 insertions, 4 deletions
diff --git a/rust/src/flowgraph/edge.rs b/rust/src/flowgraph/edge.rs
index 7862f156..38e0ae9e 100644
--- a/rust/src/flowgraph/edge.rs
+++ b/rust/src/flowgraph/edge.rs
@@ -1,8 +1,8 @@
-use binaryninjacore_sys::*;
-
+use crate::architecture::BranchType;
use crate::flowgraph::node::FlowGraphNode;
-use crate::flowgraph::{BranchType, EdgePenStyle, ThemeColor};
+use crate::flowgraph::{EdgePenStyle, ThemeColor};
use crate::rc::{CoreArrayProvider, CoreArrayProviderInner, Ref};
+use binaryninjacore_sys::*;
#[derive(Clone, Debug, PartialEq)]
pub struct FlowGraphEdge {
diff --git a/rust/src/flowgraph/node.rs b/rust/src/flowgraph/node.rs
index 5c2b9248..28233670 100644
--- a/rust/src/flowgraph/node.rs
+++ b/rust/src/flowgraph/node.rs
@@ -1,7 +1,8 @@
+use crate::architecture::BranchType;
use crate::basic_block::{BasicBlock, BlockContext};
use crate::disassembly::DisassemblyTextLine;
use crate::flowgraph::edge::{EdgeStyle, FlowGraphEdge};
-use crate::flowgraph::{BranchType, FlowGraph};
+use crate::flowgraph::FlowGraph;
use crate::function::HighlightColor;
use crate::rc::{Array, CoreArrayProvider, CoreArrayProviderInner, Guard, Ref, RefCountable};
use binaryninjacore_sys::*;