diff options
| author | KyleMiles <krm504@nyu.edu> | 2023-05-31 11:10:55 -0400 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2023-05-31 11:11:29 -0400 |
| commit | 348815b2ee562110063c512634d3543bd3ad80b6 (patch) | |
| tree | f9d3bea45877596c76b93992dc309cf9322aeaec /rust/src/references.rs | |
| parent | b3c68db7d52af0e5976b9c69d0412aabbd91c86b (diff) | |
Rustdoc warning cleanup (fixes dead links)
Diffstat (limited to 'rust/src/references.rs')
| -rw-r--r-- | rust/src/references.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rust/src/references.rs b/rust/src/references.rs index 5e878a7d..76ac4493 100644 --- a/rust/src/references.rs +++ b/rust/src/references.rs @@ -5,9 +5,9 @@ use binaryninjacore_sys::{BNFreeCodeReferences, BNFreeDataReferences, BNReferenc use std::mem::ManuallyDrop; /// A struct representing a single code cross-reference. -/// Taking a cue from [LinearDisassemblyLine], this struct uses [ManuallyDrop] to -/// prevent destructors from being run on the [Function] object allocated by -/// the core in [BNGetCodeReferences] (et al). The reference is cleaned up on [Drop] of +/// Taking a cue from [`crate::linearview::LinearDisassemblyLine`], this struct uses [ManuallyDrop] to +/// prevent destructors from being run on the [`Function`] object allocated by +/// the core in `BNGetCodeReferences` (et al). The reference is cleaned up on [Drop] of /// the enclosing array object. #[derive(Debug)] pub struct CodeReference { @@ -18,7 +18,7 @@ pub struct CodeReference { /// A struct representing a single data cross-reference. /// Data references have no associated metadata, so this object has only -/// a single [address] attribute. +/// a single [`DataReference::address`] attribute. pub struct DataReference { pub address: u64, } |
