summaryrefslogtreecommitdiff
path: root/yjit/src/codegen.rs
diff options
context:
space:
mode:
authorAlan Wu <[email protected]>2024-06-28 13:44:35 -0400
committerAlan Wu <[email protected]>2024-06-28 13:44:35 -0400
commit3e14fe7c2115a71ac46bca50443c12c4be516efc (patch)
tree105fa760fbfefee5fe0b32865fb2f511ff4bb11a /yjit/src/codegen.rs
parentbc91e8ff1db329e194f3d9706d94d5261090901d (diff)
YJIT: Fix `cargo doc --document-private-items` warnings [ci skip]
Mostly putting angle brackets around links to follow markdown syntax.
Diffstat (limited to 'yjit/src/codegen.rs')
-rw-r--r--yjit/src/codegen.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs
index 746959279b..d456803931 100644
--- a/yjit/src/codegen.rs
+++ b/yjit/src/codegen.rs
@@ -41,7 +41,7 @@ type InsnGenFn = fn(
) -> Option<CodegenStatus>;
/// Ephemeral code generation state.
-/// Represents a [core::Block] while we build it.
+/// Represents a [crate::core::Block] while we build it.
pub struct JITState<'a> {
/// Instruction sequence for the compiling block
pub iseq: IseqPtr,
@@ -1001,7 +1001,7 @@ pub fn gen_entry_chain_guard(
/// Compile an interpreter entry block to be inserted into an iseq
/// Returns None if compilation fails.
/// If jit_exception is true, compile JIT code for handling exceptions.
-/// See [jit_compile_exception] for details.
+/// See jit_compile_exception() for details.
pub fn gen_entry_prologue(
cb: &mut CodeBlock,
ocb: &mut OutlinedCb,