From 18015e8c369df15ca73fc00d6db8efc0590236ba Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 26 Nov 2025 10:11:41 -0800 Subject: [PATCH] doc/next: clean up some Go 1.26 release notes The Var.Kind stuff was in Go 1.25. And the net additions were in the wrong tense and didn't have links. Change-Id: Ie710e1d41c714fe627a3a21a5afb6b7f78301f68 Reviewed-on: https://go-review.googlesource.com/c/go/+/724780 Reviewed-by: Dmitri Shuralyov LUCI-TryBot-Result: Go LUCI Auto-Submit: Dmitri Shuralyov Reviewed-by: Mark Freeman Reviewed-by: Dmitri Shuralyov --- doc/initial/6-stdlib/99-minor/0-heading.md | 9 --------- doc/next/6-stdlib/99-minor/0-heading.md | 9 --------- doc/next/6-stdlib/99-minor/net/49097.md | 7 ++++++- 3 files changed, 6 insertions(+), 19 deletions(-) diff --git a/doc/initial/6-stdlib/99-minor/0-heading.md b/doc/initial/6-stdlib/99-minor/0-heading.md index e80ebc64c38..266d98f496a 100644 --- a/doc/initial/6-stdlib/99-minor/0-heading.md +++ b/doc/initial/6-stdlib/99-minor/0-heading.md @@ -1,10 +1 @@ ### Minor changes to the library {#minor_library_changes} - -#### go/types - -The `Var.Kind` method returns an enumeration of type `VarKind` that -classifies the variable (package-level, local, receiver, parameter, -result, or struct field). See issue #70250. - -Callers of `NewVar` or `NewParam` are encouraged to call `Var.SetKind` -to ensure that this attribute is set correctly in all cases. diff --git a/doc/next/6-stdlib/99-minor/0-heading.md b/doc/next/6-stdlib/99-minor/0-heading.md index e80ebc64c38..266d98f496a 100644 --- a/doc/next/6-stdlib/99-minor/0-heading.md +++ b/doc/next/6-stdlib/99-minor/0-heading.md @@ -1,10 +1 @@ ### Minor changes to the library {#minor_library_changes} - -#### go/types - -The `Var.Kind` method returns an enumeration of type `VarKind` that -classifies the variable (package-level, local, receiver, parameter, -result, or struct field). See issue #70250. - -Callers of `NewVar` or `NewParam` are encouraged to call `Var.SetKind` -to ensure that this attribute is set correctly in all cases. diff --git a/doc/next/6-stdlib/99-minor/net/49097.md b/doc/next/6-stdlib/99-minor/net/49097.md index bb7947b0a11..02b28d8e50c 100644 --- a/doc/next/6-stdlib/99-minor/net/49097.md +++ b/doc/next/6-stdlib/99-minor/net/49097.md @@ -1 +1,6 @@ -Added context aware dial functions for TCP, UDP, IP and Unix networks. +The new Dialer methods +DialIP, +DialTCP, +DialUDP, and +DialUnix +permit dialing specific network types with context values.