diff --git a/doc/go1.21.html b/doc/go1.21.html index 14ce575df1..6961581776 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -568,9 +568,19 @@ Do not send CLs removing the interior tags from such phrases.

- A flag definition (via Bool, BoolVar, Int, IntVar, etc.) will panic if Set has already been called on a flag with the same name. -

- This change is intended to detect cases where changes in initialization order cause flag operations to occur in a different order than expected. In many cases the fix to this problem is to introduce a explicit package dependence to correctly order the definition before any Set operations. + A flag definition + (via Bool, + BoolVar, + Int, + IntVar, etc.) + will panic if Set has + already been called on a flag with the same name. This change is + intended to detect cases where changes in + initialization order cause flag operations to occur in a + different order than expected. In many cases the fix to this + problem is to introduce a explicit package dependence to + correctly order the definition before any + Set operations.