aboutsummaryrefslogtreecommitdiff
path: root/src/time
diff options
context:
space:
mode:
authorsubham sarkar <sarkar.subhams2@gmail.com>2020-10-15 00:24:14 +0530
committerAlberto Donizetti <alb.donizetti@gmail.com>2020-10-23 21:57:39 +0000
commita972e8ccb9824d97f029bde5409527fb27e85989 (patch)
tree432fb9c8ea351bcedd86f507038f4ebbae695396 /src/time
parentdb185e543fe471c522790b7d93291e786dc54a84 (diff)
downloadgo-a972e8ccb9824d97f029bde5409527fb27e85989.tar.gz
go-a972e8ccb9824d97f029bde5409527fb27e85989.zip
all: fix quoting for compress/bzip2 and time's godoc
The existing usage of grave accent (`) and apostrophe (') at some places made godoc to ignore them and show it as it is. So, use both of the characters twice (consecutively) so that godoc can convert it to {left,right} double quotation mark. Fixes #41958 Change-Id: I64fd9b5fa34f416ad595009d09f5482e10bd8b4f Reviewed-on: https://go-review.googlesource.com/c/go/+/262397 Reviewed-by: Russ Cox <rsc@golang.org> Trust: Alberto Donizetti <alb.donizetti@gmail.com>
Diffstat (limited to 'src/time')
-rw-r--r--src/time/tick.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/tick.go b/src/time/tick.go
index 152d5a706b..2311faa15f 100644
--- a/src/time/tick.go
+++ b/src/time/tick.go
@@ -6,7 +6,7 @@ package time
import "errors"
-// A Ticker holds a channel that delivers `ticks' of a clock
+// A Ticker holds a channel that delivers ``ticks'' of a clock
// at intervals.
type Ticker struct {
C <-chan Time // The channel on which the ticks are delivered.