Skip to content

Commit 6be2a51

Browse files
committed
YJIT: ZJIT: Fix rustdoc dead links
1 parent 21e8116 commit 6be2a51

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

yjit/src/virtualmem.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ pub struct VirtualMemory<A: Allocator> {
4646
/// Mutable parts of [`VirtualMemory`].
4747
pub struct VirtualMemoryMut<A: Allocator> {
4848
/// Number of bytes that have we have allocated physical memory for starting at
49-
/// [Self::region_start].
49+
/// [VirtualMemory::region_start].
5050
mapped_region_bytes: usize,
5151

5252
/// Keep track of the address of the last written to page.

zjit/src/codegen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@ fn gen_new_array(
12421242
new_array
12431243
}
12441244

1245-
/// Compile array access (array[index])
1245+
/// Compile array access (`array[index]`)
12461246
fn gen_aref_fixnum(
12471247
asm: &mut Assembler,
12481248
array: Opnd,

zjit/src/gc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ fn ranges_overlap<T>(left: &Range<T>, right: &Range<T>) -> bool where T: Partial
262262
left.start < right.end && right.start < left.end
263263
}
264264

265-
/// Callback for marking GC objects inside [Invariants].
265+
/// Callback for marking GC objects inside [crate::invariants::Invariants].
266266
#[unsafe(no_mangle)]
267267
pub extern "C" fn rb_zjit_root_mark() {
268268
gc_mark_raw_samples();

0 commit comments

Comments
 (0)