Skip to content

Commit 0317c1a

Browse files
committed
Fix rust documentation warnings.
1 parent 77da98d commit 0317c1a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

rust/src/workflow.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -218,35 +218,35 @@ impl AnalysisContext {
218218

219219
/// Check if an offset has code semantics in the cached section map.
220220
///
221-
/// NOTE: This is a lock-free alternative to [`BinaryView::is_offset_code_semantics`].
221+
/// NOTE: This is a lock-free alternative to [`BinaryViewExt::offset_has_code_semantics`].
222222
pub fn is_offset_code_semantics(&self, offset: u64) -> bool {
223223
unsafe { BNAnalysisContextIsOffsetCodeSemantics(self.handle.as_ptr(), offset) }
224224
}
225225

226226
/// Check if an offset has external semantics in the cached section map.
227227
///
228-
/// NOTE: This is a lock-free alternative to [`BinaryView::is_offset_extern_semantics`].
228+
/// NOTE: This is a lock-free alternative to [`BinaryViewExt::offset_has_extern_semantics`].
229229
pub fn is_offset_extern_semantics(&self, offset: u64) -> bool {
230230
unsafe { BNAnalysisContextIsOffsetExternSemantics(self.handle.as_ptr(), offset) }
231231
}
232232

233233
/// Check if an offset has writable semantics in the cached section map.
234234
///
235-
/// NOTE: This is a lock-free alternative to [`BinaryView::is_offset_writable_semantics`].
235+
/// NOTE: This is a lock-free alternative to [`BinaryViewExt::offset_has_writable_semantics`].
236236
pub fn is_offset_writable_semantics(&self, offset: u64) -> bool {
237237
unsafe { BNAnalysisContextIsOffsetWritableSemantics(self.handle.as_ptr(), offset) }
238238
}
239239

240240
/// Check if an offset has read-only semantics in the cached section map.
241241
///
242-
/// NOTE: This is a lock-free alternative to [`BinaryView::is_offset_readonly_semantics`].
242+
/// NOTE: This is a lock-free alternative to [`BinaryViewExt::offset_has_read_only_semantics`].
243243
pub fn is_offset_readonly_semantics(&self, offset: u64) -> bool {
244244
unsafe { BNAnalysisContextIsOffsetReadOnlySemantics(self.handle.as_ptr(), offset) }
245245
}
246246

247247
/// Get all sections from the cached section map.
248248
///
249-
/// NOTE: This is a lock-free alternative to [`BinaryView::sections`].
249+
/// NOTE: This is a lock-free alternative to [`BinaryViewExt::sections`].
250250
pub fn sections(&self) -> Array<Section> {
251251
unsafe {
252252
let mut count = 0;
@@ -257,7 +257,7 @@ impl AnalysisContext {
257257

258258
/// Get a section by name from the cached section map.
259259
///
260-
/// NOTE: This is a lock-free alternative to [`BinaryView::section_by_name`].
260+
/// NOTE: This is a lock-free alternative to [`BinaryViewExt::section_by_name`].
261261
pub fn section_by_name(&self, name: impl IntoCStr) -> Option<Ref<Section>> {
262262
unsafe {
263263
let raw_name = name.to_cstr();
@@ -272,7 +272,7 @@ impl AnalysisContext {
272272

273273
/// Get all sections containing the given address from the cached section map.
274274
///
275-
/// NOTE: This is a lock-free alternative to [`BinaryView::sections_at`].
275+
/// NOTE: This is a lock-free alternative to [`BinaryViewExt::sections_at`].
276276
pub fn sections_at(&self, addr: u64) -> Array<Section> {
277277
unsafe {
278278
let mut count = 0;

0 commit comments

Comments
 (0)