summaryrefslogtreecommitdiff
path: root/rust/src/backgroundtask.rs
diff options
context:
space:
mode:
authorRyan Snyder <ryan@vector35.com>2024-05-01 08:31:37 -0400
committerRyan Snyder <ryan@vector35.com>2024-05-01 08:31:37 -0400
commit62eaff47182657ca692d02e73f0aa5828dd74f4c (patch)
treeb9f8fc9b1f573e25cfbffcb15b6193a011336aa1 /rust/src/backgroundtask.rs
parentbec653143bd78f1662ed1a556c4b00471f395fcc (diff)
parentf3c1a3cb3cbdd25d5f556d1ab770f8cbc29fd567 (diff)
Merge branch 'fix-array-2' of github.com:rbran/binaryninja-api into dev
Diffstat (limited to 'rust/src/backgroundtask.rs')
-rw-r--r--rust/src/backgroundtask.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/rust/src/backgroundtask.rs b/rust/src/backgroundtask.rs
index 1eb090d7..e62cfbcb 100644
--- a/rust/src/backgroundtask.rs
+++ b/rust/src/backgroundtask.rs
@@ -112,13 +112,13 @@ unsafe impl CoreOwnedArrayProvider for BackgroundTask {
}
}
-unsafe impl<'a> CoreArrayWrapper<'a> for BackgroundTask {
- type Wrapped = Guard<'a, BackgroundTask>;
+unsafe impl CoreArrayWrapper for BackgroundTask {
+ type Wrapped<'a> = Guard<'a, BackgroundTask>;
- unsafe fn wrap_raw(
+ unsafe fn wrap_raw<'a>(
raw: &'a *mut BNBackgroundTask,
context: &'a (),
- ) -> Guard<'a, BackgroundTask> {
+ ) -> Self::Wrapped<'a> {
Guard::new(BackgroundTask::from_raw(*raw), context)
}
}