io/router, internal/ops: minor refactoring

Rename the assertEventSequence helper to assertEventPointerTypeSequence.
Fix typos.

Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
This commit is contained in:
Pierre Curto
2021-11-24 09:52:14 +01:00
committed by Elias Naur
parent 5fd4ecb011
commit 218a9588d6
2 changed files with 60 additions and 60 deletions
+2 -2
View File
@@ -269,7 +269,7 @@ func Save(o *Ops) StateOp {
return s
}
// load a previously saved operations state given
// Load a previously saved operations state given
// its ID.
func (s StateOp) Load() {
bo := binary.LittleEndian
@@ -427,6 +427,6 @@ func (t OpType) String() string {
case TypeStroke:
return "Stroke"
default:
panic("unnkown OpType")
panic("unknown OpType")
}
}