From 975eeec9cb63e849aec6fa48705752ca1a8e352f Mon Sep 17 00:00:00 2001 From: KimMachineGun Date: Sat, 28 Nov 2020 20:50:39 +0900 Subject: [PATCH] doc/go1.16: document new behavior of asn1.Unmarshal on invalid argument --- doc/go1.16.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/go1.16.html b/doc/go1.16.html index 6e371b9617..084fdfe677 100644 --- a/doc/go1.16.html +++ b/doc/go1.16.html @@ -453,6 +453,18 @@ Do not send CLs removing the interior tags from such phrases. +
encoding/asn1
+
+

+ Unmarshal and + UnmarshalWithParams + now return an error instead of panic when the argument is not + a pointer or is nil. This change matches the behavior of other + encoding packages such as encoding/json. +

+
+
+
flag