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:
Vincent Ambo 2022-09-05 01:30:58 +03:00 committed by tazjin
parent 83dd706a3a
commit 06909f1821
10 changed files with 122 additions and 110 deletions

View file

@ -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