diff --git a/doc/go1.16.html b/doc/go1.16.html index 6af4127d76..f6f72c3882 100644 --- a/doc/go1.16.html +++ b/doc/go1.16.html @@ -381,21 +381,11 @@ func TestFoo(t *testing.T) {
- The vet tool now warns about invalid calls of
+ The vet tool now warns about incorrectly passing a non-pointer or nil argument to
asn1.Unmarshal.
- If you pass non-pointer or nil argument to
- asn1.Unmarshal,
- the vet tool will report it.
-
- The vet tool already has been checking invalid Unmarshal and
- Decode calls of other encoding packages such as
- encoding/json,
- encoding/xml.
- This release makes the vet tool check
- encoding/asn1's one
- as well.
+ This is like the existing checks for
+ encoding/json.Unmarshal
+ and encoding/xml.Unmarshal.