diff options
| author | Rubens Brandao <git@rubens.io> | 2024-04-17 12:35:04 -0300 |
|---|---|---|
| committer | Kyle Martin <krm504@nyu.edu> | 2024-05-09 14:00:01 -0400 |
| commit | c528f3ad0e1abd4168b1507e8c30bc14c4a6a736 (patch) | |
| tree | 83d13b9b64be9383929e755efa97fd4877b5f2ec /rust/src/binaryview.rs | |
| parent | 71a1c7e162046a44e7640e468b69a2b59599b198 (diff) | |
fix rust doc code
Diffstat (limited to 'rust/src/binaryview.rs')
| -rw-r--r-- | rust/src/binaryview.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/binaryview.rs b/rust/src/binaryview.rs index 70b1cab0..5a4e270b 100644 --- a/rust/src/binaryview.rs +++ b/rust/src/binaryview.rs @@ -1553,7 +1553,7 @@ pub type BinaryViewEventType = BNBinaryViewEventType; /// /// # Example /// -/// ```rust +/// ```no_run /// use binaryninja::binaryview::{BinaryView, BinaryViewEventHandler, BinaryViewEventType, register_binary_view_event}; /// /// struct EventHandlerContext { @@ -1561,7 +1561,7 @@ pub type BinaryViewEventType = BNBinaryViewEventType; /// } /// /// impl BinaryViewEventHandler for EventHandlerContext { -/// fn on_event(&mut self, binary_view: &BinaryView) { +/// fn on_event(&self, binary_view: &BinaryView) { /// // handle event /// } /// } |
