about summary refs log tree commit diff
path: root/tvix/eval/src/value/function.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-09-21T21·57+0300
committerflokli <flokli@flokli.de>2023-09-22T09·14+0000
commit731996fbfe5947190443ed70385632a7f9e07e06 (patch)
tree7619b0f63f6781ed9cdf651ab6cc2a8acfcf3685 /tvix/eval/src/value/function.rs
parent37a348b4fae16b2b1c5ec12deaa085a049833d7f (diff)
docs(tvix/eval): fix some broken docstr references r/6624
There's some more left, but they've been renamed/refactored out of
sight.

Change-Id: I41579dedc74342b4c5f8cb39d2995b5b0c90b0f4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9372
Tested-by: BuildkiteCI
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/eval/src/value/function.rs')
-rw-r--r--tvix/eval/src/value/function.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tvix/eval/src/value/function.rs b/tvix/eval/src/value/function.rs
index 1a32795393bf..77ac7112d2cb 100644
--- a/tvix/eval/src/value/function.rs
+++ b/tvix/eval/src/value/function.rs
@@ -42,7 +42,7 @@ impl Formals {
 ///
 /// In order to correctly reproduce cppnix's "pointer equality"
 /// semantics it is important that we never clone a Lambda --
-/// use Rc<Lambda>::clone() instead.  This struct deliberately
+/// use `Rc<Lambda>::clone()` instead.  This struct deliberately
 /// does not `derive(Clone)` in order to prevent this from being
 /// done accidentally.
 ///
@@ -58,7 +58,7 @@ pub struct Lambda {
     /// Number of upvalues which the code in this Lambda closes
     /// over, and which need to be initialised at
     /// runtime.  Information about the variables is emitted using
-    /// data-carrying opcodes (see [`OpCode::DataStackIdx`]).
+    /// data-carrying opcodes (see [`crate::opcode::OpCode::DataStackIdx`]).
     pub(crate) upvalue_count: usize,
     pub(crate) formals: Option<Formals>,
 }
@@ -72,7 +72,7 @@ impl Lambda {
 ///
 /// In order to correctly reproduce cppnix's "pointer equality"
 /// semantics it is important that we never clone a Lambda --
-/// use Rc<Lambda>::clone() instead.  This struct deliberately
+/// use `Rc<Lambda>::clone()` instead.  This struct deliberately
 /// does not `derive(Clone)` in order to prevent this from being
 /// done accidentally.
 ///