Skip to content

Commit d5c41f1

Browse files
Correct spec anchors
It seems somewhere along the way an additional underscore was added to the anchors in the spec, breaking these links.
1 parent e5ae0a9 commit d5c41f1

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)