summaryrefslogtreecommitdiff
path: root/rust/examples/flowgraph/src
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2021-02-10 22:02:50 +0000
committerKyleMiles <krm504@nyu.edu>2021-03-17 23:43:59 +0000
commit1515df8e71412787470b27d04ed9b2944fca0fdc (patch)
tree400fbc792da7de1cc62e0fae171aae2bdf346869 /rust/examples/flowgraph/src
parent41e11f8387ebb3275da31994b85a7a8b6256eb99 (diff)
Misc typo changes, const changes, code cleanup, and example updates
Diffstat (limited to 'rust/examples/flowgraph/src')
-rw-r--r--rust/examples/flowgraph/src/lib.rs12
1 files changed, 5 insertions, 7 deletions
diff --git a/rust/examples/flowgraph/src/lib.rs b/rust/examples/flowgraph/src/lib.rs
index e0c47d9f..799b0470 100644
--- a/rust/examples/flowgraph/src/lib.rs
+++ b/rust/examples/flowgraph/src/lib.rs
@@ -1,10 +1,8 @@
-use binaryninja::binaryview::{BinaryView, BinaryViewExt};
-use binaryninja::command::register;
-use binaryninja::disassembly::{
- DisassemblyTextLine, InstructionTextToken, InstructionTextTokenType,
-};
-use binaryninja::flowgraph::{
- BranchType, EdgePenStyle, EdgeStyle, FlowGraph, FlowGraphNode, ThemeColor,
+use binaryninja::{
+ binaryview::{BinaryView, BinaryViewExt},
+ command::register,
+ disassembly::{DisassemblyTextLine, InstructionTextToken, InstructionTextTokenType},
+ flowgraph::{BranchType, EdgePenStyle, EdgeStyle, FlowGraph, FlowGraphNode, ThemeColor},
};
fn test_graph(view: &BinaryView) {