YJIT: ZJIT: Fix rustdoc dead links

This commit is contained in:
Alan Wu 2025-10-11 15:48:43 -04:00
parent 21e81160e6
commit 6be2a5104d
Notes: git 2025-12-15 16:28:42 +00:00
3 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ pub struct VirtualMemory<A: Allocator> {
/// Mutable parts of [`VirtualMemory`].
pub struct VirtualMemoryMut<A: Allocator> {
/// Number of bytes that have we have allocated physical memory for starting at
/// [Self::region_start].
/// [VirtualMemory::region_start].
mapped_region_bytes: usize,
/// Keep track of the address of the last written to page.

View File

@ -1242,7 +1242,7 @@ fn gen_new_array(
new_array
}
/// Compile array access (array[index])
/// Compile array access (`array[index]`)
fn gen_aref_fixnum(
asm: &mut Assembler,
array: Opnd,

View File

@ -262,7 +262,7 @@ fn ranges_overlap<T>(left: &Range<T>, right: &Range<T>) -> bool where T: Partial
left.start < right.end && right.start < left.end
}
/// Callback for marking GC objects inside [Invariants].
/// Callback for marking GC objects inside [crate::invariants::Invariants].
#[unsafe(no_mangle)]
pub extern "C" fn rb_zjit_root_mark() {
gc_mark_raw_samples();