Skip to content

Commit

Permalink
fix rust minidump custom binary view
Browse files Browse the repository at this point in the history
  • Loading branch information
rbran committed Aug 6, 2024
1 parent c274d33 commit fe7b4f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/examples/minidump/src/view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ unsafe impl CustomBinaryView for MinidumpBinaryView {
Ok(MinidumpBinaryView::new(handle))
}

fn init(&self, _args: Self::Args) -> BinaryViewResult<()> {
self.init()
fn init(&mut self, _args: Self::Args) -> BinaryViewResult<()> {
MinidumpBinaryView::init(self)
}
}

0 comments on commit fe7b4f5

Please sign in to comment.