Skip to content

Commit 5a3171b

Browse files
andrewpollockgopherbot
authored andcommitted
internal/typesinternal: correct spec anchors in comments
It seems somewhere along the way, an additional underscore was added to the anchors in the spec, breaking these links. Change-Id: I1bff23e0c0e3f85bcb4700fb9983c19a327c94d1 GitHub-Last-Rev: d5c41f1 GitHub-Pull-Request: #515 Reviewed-on: https://go-review.googlesource.com/c/tools/+/609578 Auto-Submit: Robert Findley <[email protected]> Reviewed-by: Robert Findley <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Peter Weinberger <[email protected]> Reviewed-by: Hongxiang Jiang <[email protected]>
1 parent c538e2c commit 5a3171b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

internal/typesinternal/errorcode.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ const (
838838
// InvalidCap occurs when an argument to the cap built-in function is not of
839839
// supported type.
840840
//
841-
// See https://golang.org/ref/spec#Lengthand_capacity for information on
841+
// See https://golang.org/ref/spec#Length_and_capacity for information on
842842
// which underlying types are supported as arguments to cap and len.
843843
//
844844
// Example:
@@ -859,7 +859,7 @@ const (
859859
// InvalidCopy occurs when the arguments are not of slice type or do not
860860
// have compatible type.
861861
//
862-
// See https://golang.org/ref/spec#Appendingand_copying_slices for more
862+
// See https://golang.org/ref/spec#Appending_and_copying_slices for more
863863
// information on the type requirements for the copy built-in.
864864
//
865865
// Example:
@@ -897,7 +897,7 @@ const (
897897
// InvalidLen occurs when an argument to the len built-in function is not of
898898
// supported type.
899899
//
900-
// See https://golang.org/ref/spec#Lengthand_capacity for information on
900+
// See https://golang.org/ref/spec#Length_and_capacity for information on
901901
// which underlying types are supported as arguments to cap and len.
902902
//
903903
// Example:
@@ -914,7 +914,7 @@ const (
914914

915915
// InvalidMake occurs when make is called with an unsupported type argument.
916916
//
917-
// See https://golang.org/ref/spec#Makingslices_maps_and_channels for
917+
// See https://golang.org/ref/spec#Making_slices_maps_and_channels for
918918
// information on the types that may be created using make.
919919
//
920920
// Example:

0 commit comments

Comments
 (0)