You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fmt: display contained values when formatting atomic booleans and integers
* treat `atomic.{Int32,Int64,Uint32,Uint64}` values as integers when
formatting, using the underlying integer value (by calling Load). This
has the effect of, for example, formatting an atomic integer type
containing 42 as "42", not "{{}, 42}").
* treat `atomic.Bool` values as booleans when formatting, using the
contained boolean value (by calling Load). This has the effect of, for
example, formatting an true atomic.Bool value containing as "true",
not "{{}, 1}" or "{{} %!t(uint32=1)}" as before.
Fixes#54731
0 commit comments