From 924f526277c4deecfeb3ff3b48095126d1bb520e Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Fri, 12 Aug 2022 09:20:40 -0700 Subject: [PATCH] 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 --- src/time/zoneinfo.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/time/zoneinfo.go b/src/time/zoneinfo.go index b3313583d89..3c4aac375b5 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