op: tighten documentation

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-12-02 17:55:26 +01:00
parent 3701e2eb1d
commit 2486d46ab4
+2 -3
View File
@@ -86,7 +86,7 @@ type Ops struct {
macroDepth int macroDepth int
} }
// StackOp can save and restore the operation state // StackOp saves and restores the operation state
// in a stack-like manner. // in a stack-like manner.
type StackOp struct { type StackOp struct {
stackDepth int stackDepth int
@@ -95,8 +95,7 @@ type StackOp struct {
ops *Ops ops *Ops
} }
// MacroOp can record a list of operations for later // MacroOp records a list of operations for later use.
// use.
type MacroOp struct { type MacroOp struct {
recording bool recording bool
ops *Ops ops *Ops