fix(tvix/eval): fix doc comment syntax where applicable
As pointed out by grfn on cl/6091 Change-Id: I28308577b7cf99dffb4a4fd3cc8783eb9ab4d0d6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6460 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
83dd706a3a
commit
06909f1821
10 changed files with 122 additions and 110 deletions
|
|
@ -35,10 +35,10 @@ pub struct Count(pub usize);
|
|||
#[warn(variant_size_differences)]
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
pub enum OpCode {
|
||||
// Push a constant onto the stack.
|
||||
/// Push a constant onto the stack.
|
||||
OpConstant(ConstantIdx),
|
||||
|
||||
// Discard a value from the stack.
|
||||
/// Discard a value from the stack.
|
||||
OpPop,
|
||||
|
||||
// Push a literal value.
|
||||
|
|
@ -93,13 +93,13 @@ pub enum OpCode {
|
|||
// Type assertion operators
|
||||
OpAssertBool,
|
||||
|
||||
// Access local identifiers with statically known positions.
|
||||
/// Access local identifiers with statically known positions.
|
||||
OpGetLocal(StackIdx),
|
||||
|
||||
// Close scopes while leaving their expression value around.
|
||||
/// Close scopes while leaving their expression value around.
|
||||
OpCloseScope(Count), // number of locals to pop
|
||||
|
||||
// Asserts stack top is a boolean, and true.
|
||||
/// Asserts stack top is a boolean, and true.
|
||||
OpAssert,
|
||||
|
||||
// Lambdas & closures
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue