From 65c4bb4e61ef97751d5ebdf8c78dc89623edb6e9 Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Thu, 3 Jul 2025 09:48:37 -0700 Subject: [PATCH] [Rust] Fix clippy + rustfmt complaints The clippy complaint was a real issue: the doc comment intended for the commented-out `unresolved_indirect_branches` was being interpreted as the start of the doc comment for the following function. --- rust/src/function.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/src/function.rs b/rust/src/function.rs index de6d2d4126..04722809ab 100644 --- a/rust/src/function.rs +++ b/rust/src/function.rs @@ -2371,8 +2371,8 @@ impl Function { unsafe { BNHasUnresolvedIndirectBranches(self.handle) } } - /// List of address of unresolved indirect branches /* + /// List of address of unresolved indirect branches pub fn unresolved_indirect_branches(&self) -> Array { let mut count = 0; let result = unsafe { BNGetUnresolvedIndirectBranches(self.handle, &mut count) };