summaryrefslogtreecommitdiff
path: root/rust/src/basic_block.rs
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2025-09-29 14:53:05 -0400
committerJosh Ferrell <josh@vector35.com>2025-09-29 15:08:06 -0400
commitfd5a89e174e01b0adb089dcf8f6da36cf5008443 (patch)
tree25f66fa722f8759a817a053580f2461309ac448e /rust/src/basic_block.rs
parent4870c90e6fbf31898c57db04f97c69f647157fd5 (diff)
Fix rust warnings about lifetimes introduced by 1.89.0
Diffstat (limited to 'rust/src/basic_block.rs')
-rw-r--r--rust/src/basic_block.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/basic_block.rs b/rust/src/basic_block.rs
index d415b148..90c93ad4 100644
--- a/rust/src/basic_block.rs
+++ b/rust/src/basic_block.rs
@@ -213,7 +213,7 @@ impl<C: BlockContext> BasicBlock<C> {
unsafe { BNGetBasicBlockLength(self.handle) }
}
- pub fn incoming_edges(&self) -> Array<Edge<C>> {
+ pub fn incoming_edges(&self) -> Array<Edge<'_, C>> {
unsafe {
let mut count = 0;
let edges = BNGetBasicBlockIncomingEdges(self.handle, &mut count);
@@ -228,7 +228,7 @@ impl<C: BlockContext> BasicBlock<C> {
}
}
- pub fn outgoing_edges(&self) -> Array<Edge<C>> {
+ pub fn outgoing_edges(&self) -> Array<Edge<'_, C>> {
unsafe {
let mut count = 0;
let edges = BNGetBasicBlockOutgoingEdges(self.handle, &mut count);