diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2025-10-11 15:48:43 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2025-10-12 00:51:59 -0400 |
| commit | 6be2a5104df894079d127d2cdc19b21c4f174d85 (patch) | |
| tree | ee9a91dd2cba49e59df1450bec70fe5430632c42 | |
| parent | 21e81160e61d43457f01f4af5becb81d1f76474a (diff) | |
YJIT: ZJIT: Fix rustdoc dead links
| -rw-r--r-- | yjit/src/virtualmem.rs | 2 | ||||
| -rw-r--r-- | zjit/src/codegen.rs | 2 | ||||
| -rw-r--r-- | zjit/src/gc.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/yjit/src/virtualmem.rs b/yjit/src/virtualmem.rs index 58c9d9a7fd..9126cf300e 100644 --- a/yjit/src/virtualmem.rs +++ b/yjit/src/virtualmem.rs @@ -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. diff --git a/zjit/src/codegen.rs b/zjit/src/codegen.rs index 08df10c100..262a0361b4 100644 --- a/zjit/src/codegen.rs +++ b/zjit/src/codegen.rs @@ -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, diff --git a/zjit/src/gc.rs b/zjit/src/gc.rs index 934e1e8dca..baa0926c51 100644 --- a/zjit/src/gc.rs +++ b/zjit/src/gc.rs @@ -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(); |
