From 76d4a7866667a98f1e818a3051916fbc4eb4ae0c Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 19 Jan 2022 18:05:56 -0500 Subject: content/posts/2022-01-17-generics-in-go-1.18.md: fix spec wording and link --- content/posts/2022-01-17-generics-in-go-1.18.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'content/posts') diff --git a/content/posts/2022-01-17-generics-in-go-1.18.md b/content/posts/2022-01-17-generics-in-go-1.18.md index 256312b..8ba610e 100644 --- a/content/posts/2022-01-17-generics-in-go-1.18.md +++ b/content/posts/2022-01-17-generics-in-go-1.18.md @@ -305,7 +305,7 @@ Other useful tidbits: * The standard library is still backwards compatible, so there is no need to rewrite your existing code. * There are [two new tutorials][] which explain generics and fuzzing. -* [Go type constraints spec][spec] +* [Type constraints section][] of [Go spec][]. **Update (2021-01-19):** Minor wording changes, add information about tilde prefixes in type constraints. @@ -326,5 +326,7 @@ tilde prefixes in type constraints. "Type erasure." [two new tutorials]: https://go.dev/blog/tutorials-go1.18 "New Go tutorials which explain generics and fuzzing." -[spec]: https://tip.golang.org/ref/spec#Type_constraints +[type constraints section]: https://tip.golang.org/ref/spec#Type_constraints "Type constraints section of Go specification." +[go spec]: https://tip.golang.org/ref/spec + "Go language specification." -- cgit v1.2.3