Refined a TODO.

This commit is contained in:
Pietro Gagliardi 2014-08-12 19:58:18 -04:00
parent c07a902935
commit 9b35def046
1 changed files with 2 additions and 1 deletions

View File

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