From ce81158ad5495b888b190e042d8b9712730ee494 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Sun, 7 Dec 2025 17:29:16 -0500 Subject: [Rust] Misc cleanup for ABB --- rust/src/architecture/branches.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rust/src/architecture/branches.rs') diff --git a/rust/src/architecture/branches.rs b/rust/src/architecture/branches.rs index ff0ab516..80baa1b6 100644 --- a/rust/src/architecture/branches.rs +++ b/rust/src/architecture/branches.rs @@ -136,6 +136,12 @@ impl From for BNIndirectBranchInfo { } } +impl From<&BNIndirectBranchInfo> for IndirectBranchInfo { + fn from(value: &BNIndirectBranchInfo) -> Self { + Self::from(*value) + } +} + impl CoreArrayProvider for IndirectBranchInfo { type Raw = BNIndirectBranchInfo; type Context = (); -- cgit v1.3.1