From 501fe3ec7a63a534fca3926a5fc4267f6886f089 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Sun, 7 Dec 2025 15:03:44 -0500 Subject: [Rust] Move architecture module code into more reasonable files To keep backwards compatibility for commonly referenced code we re-export them within the architecture module. Also does some light refactoring of some newly added APIs to keep them more consistent with other parts of the codebase. --- rust/src/flowgraph/edge.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rust/src/flowgraph/edge.rs') 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 { -- cgit v1.3.1