diff options
| author | Ryan Snyder <ryan@vector35.com> | 2024-05-01 08:31:37 -0400 |
|---|---|---|
| committer | Ryan Snyder <ryan@vector35.com> | 2024-05-01 08:31:37 -0400 |
| commit | 62eaff47182657ca692d02e73f0aa5828dd74f4c (patch) | |
| tree | b9f8fc9b1f573e25cfbffcb15b6193a011336aa1 /rust/src/linearview.rs | |
| parent | bec653143bd78f1662ed1a556c4b00471f395fcc (diff) | |
| parent | f3c1a3cb3cbdd25d5f556d1ab770f8cbc29fd567 (diff) | |
Merge branch 'fix-array-2' of github.com:rbran/binaryninja-api into dev
Diffstat (limited to 'rust/src/linearview.rs')
| -rw-r--r-- | rust/src/linearview.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/src/linearview.rs b/rust/src/linearview.rs index 09968fc6..31b05ad2 100644 --- a/rust/src/linearview.rs +++ b/rust/src/linearview.rs @@ -423,10 +423,10 @@ unsafe impl CoreOwnedArrayProvider for LinearDisassemblyLine { } } -unsafe impl<'a> CoreArrayWrapper<'a> for LinearDisassemblyLine { - type Wrapped = Guard<'a, LinearDisassemblyLine>; +unsafe impl CoreArrayWrapper for LinearDisassemblyLine { + type Wrapped<'a> = Guard<'a, LinearDisassemblyLine>; - unsafe fn wrap_raw(raw: &'a Self::Raw, _context: &'a Self::Context) -> Self::Wrapped { + unsafe fn wrap_raw<'a>(raw: &'a Self::Raw, _context: &'a Self::Context) -> Self::Wrapped<'a> { Guard::new(LinearDisassemblyLine::from_raw(raw), _context) } } |
