From: Abhinav Gupta Date: Fri, 12 Aug 2022 16:20:40 +0000 (-0700) Subject: time: fix LoadLocation documentation formatting X-Git-Tag: go1.20rc1~1557 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=924f526277c4deecfeb3ff3b48095126d1bb520e;p=gostls13.git time: fix LoadLocation documentation formatting The documentation for LoadLocation contains an enumerated list, but does not render as such because it's missing leading spaces. Output verified with the go doc command and godoc server. Change-Id: I88b61d34048b7d01ee5cd77c32849af266e2f4c5 Reviewed-on: https://go-review.googlesource.com/c/go/+/423297 Reviewed-by: Bryan Mills Auto-Submit: Ian Lance Taylor Reviewed-by: Ian Lance Taylor TryBot-Result: Gopher Robot Run-TryBot: Ian Lance Taylor --- diff --git a/src/time/zoneinfo.go b/src/time/zoneinfo.go index b3313583d8..3c4aac375b 100644 --- a/src/time/zoneinfo.go +++ b/src/time/zoneinfo.go @@ -634,10 +634,10 @@ var zoneinfoOnce sync.Once // LoadLocation looks for the IANA Time Zone database in the following // locations in order: // -// - the directory or uncompressed zip file named by the ZONEINFO environment variable -// - on a Unix system, the system standard installation location -// - $GOROOT/lib/time/zoneinfo.zip -// - the time/tzdata package, if it was imported +// - the directory or uncompressed zip file named by the ZONEINFO environment variable +// - on a Unix system, the system standard installation location +// - $GOROOT/lib/time/zoneinfo.zip +// - the time/tzdata package, if it was imported func LoadLocation(name string) (*Location, error) { if name == "" || name == "UTC" { return UTC, nil