From cefeb5859866f2fe119b7936f7c97137b7efb7b6 Mon Sep 17 00:00:00 2001 From: Jia Chenhui Date: Tue, 10 Oct 2017 20:11:15 +0800 Subject: [PATCH] event: fix typo (#15270) --- event/event.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event/event.go b/event/event.go index d3e84f0f7f..20d20d1f57 100644 --- a/event/event.go +++ b/event/event.go @@ -56,7 +56,7 @@ func (mux *TypeMux) Subscribe(types ...interface{}) *TypeMuxSubscription { defer mux.mutex.Unlock() if mux.stopped { // set the status to closed so that calling Unsubscribe after this - // call will short curuit + // call will short circuit. sub.closed = true close(sub.postC) } else {