瀏覽代碼

event: fix typo (#15270)

Jia Chenhui 8 年之前
父節點
當前提交
cefeb58598
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      event/event.go

+ 1 - 1
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 {