Skip to content

Commit 9236b0f

Browse files
committed
nit
1 parent ad9dafc commit 9236b0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/godoc/dochtml/dochtml.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ func versionedPkgPath(pkgPath string, modInfo *ModuleInfo) string {
455455
return fmt.Sprintf("%s@%s", pkgPath, tag)
456456
}
457457

458-
if modInfo == nil || (!modInfo.ModulePackages[pkgPath]) {
458+
if modInfo == nil || !modInfo.ModulePackages[pkgPath] {
459459
return pkgPath
460460
}
461461

0 commit comments

Comments
 (0)