From dff78d82ce21d97cad53171b72b88550e02c2c7f Mon Sep 17 00:00:00 2001 From: Mohammed Al Sahaf Date: Fri, 3 Jan 2020 21:33:22 +0300 Subject: v2: housekeeping: address minor lint complaints (#2957) * v2: housekeeping: update tools * v2: housekeeping: adhere to US locale in spelling * v2: housekeeping: simplify code --- listeners.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'listeners.go') diff --git a/listeners.go b/listeners.go index f20d56c..ae1873f 100644 --- a/listeners.go +++ b/listeners.go @@ -138,7 +138,7 @@ func (fcl *fakeCloseListener) Accept() (net.Conn, error) { fcl.deadlineMu.Unlock() if atomic.LoadInt32(&fcl.closed) == 1 { - // if we cancelled the Accept() by setting a deadline + // if we canceled the Accept() by setting a deadline // on the listener, we need to make sure any callers of // Accept() think the listener was actually closed; // if we return the timeout error instead, callers might -- cgit v1.2.3