summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
authorMark Rowe <mark@vector35.com>2025-07-03 09:48:37 -0700
committerMark Rowe <mark@vector35.com>2025-07-03 23:41:49 -0700
commit65c4bb4e61ef97751d5ebdf8c78dc89623edb6e9 (patch)
tree4fbc59dfe4f2ba935893f1ae5ec5ebec48bafa6b /rust/src
parent9175a5f40d4a0b9d75e90f9bf77260d8a8eb3387 (diff)
[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.
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/function.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/function.rs b/rust/src/function.rs
index de6d2d41..04722809 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<Arch> {
let mut count = 0;
let result = unsafe { BNGetUnresolvedIndirectBranches(self.handle, &mut count) };