diff options
| -rw-r--r-- | redo/uitask.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/redo/uitask.go b/redo/uitask.go index f9b9fc4..64366c8 100644 --- a/redo/uitask.go +++ b/redo/uitask.go @@ -65,7 +65,8 @@ type event struct { lock sync.Mutex } -// do should never be nil; TODO should we make setters panic instead? +// do should never be nil +// TODO when writing doc.go, document that setting nil to an event handler ignores the event; if it returns a boolean value, false is returned func newEvent() *event { return &event{ |
