diff --git a/doc/go_spec.html b/doc/go_spec.html index 184b6960f4..6c0dc8bbd5 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -4820,8 +4820,9 @@ in the TypeSwitchGuard.

-The type in a case may be nil; -that case is used when the expression in the TypeSwitchGuard +Instead of a type, a case may use the predeclared identifier +nil; +that case is selected when the expression in the TypeSwitchGuard is a nil interface value. There may be at most one nil case.