summaryrefslogtreecommitdiff
path: root/redo/uitask.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-12 19:58:18 -0400
committerPietro Gagliardi <[email protected]>2014-08-12 19:58:18 -0400
commit9b35def046f8e3dd3ce64ff20fbf4aa03625e239 (patch)
tree95c5e87980f1796efc252e7c9e5336b1895890d3 /redo/uitask.go
parentc07a902935530db6de1dfa7e21dbd5209832cb49 (diff)
Refined a TODO.
Diffstat (limited to 'redo/uitask.go')
-rw-r--r--redo/uitask.go3
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{