From 9236b0f8eab572a047aa63e22b9bfa72483c41f0 Mon Sep 17 00:00:00 2001 From: Alex Bozhenko Date: Fri, 16 Aug 2024 16:25:36 -0700 Subject: [PATCH] nit --- internal/godoc/dochtml/dochtml.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/godoc/dochtml/dochtml.go b/internal/godoc/dochtml/dochtml.go index df99411a..e6e00f37 100644 --- a/internal/godoc/dochtml/dochtml.go +++ b/internal/godoc/dochtml/dochtml.go @@ -455,7 +455,7 @@ func versionedPkgPath(pkgPath string, modInfo *ModuleInfo) string { return fmt.Sprintf("%s@%s", pkgPath, tag) } - if modInfo == nil || (!modInfo.ModulePackages[pkgPath]) { + if modInfo == nil || !modInfo.ModulePackages[pkgPath] { return pkgPath }