diff --git a/doc/go1.16.html b/doc/go1.16.html index 2190ed6cd3d..ffe274f3bd9 100644 --- a/doc/go1.16.html +++ b/doc/go1.16.html @@ -840,9 +840,9 @@ func TestFoo(t *testing.T) {
- The Match
and Glob
functions now
- return an error if the unmatched part of the pattern has a
- syntax error. Previously, the functions returned early on a failed
+ The Match
function now
+ returns an error if the unmatched part of the pattern has a
+ syntax error. Previously, the function returned early on a failed
match, and thus did not report any later syntax error in the
pattern.