mirror of
https://github.com/golang/go
synced 2024-11-26 18:16:48 -07:00
log/slog: fix comments for *handleState.appendAttr
This commit is contained in:
parent
8da6405e0d
commit
24067b8714
@ -461,9 +461,8 @@ func (s *handleState) appendAttrs(as []Attr) bool {
|
||||
return nonEmpty
|
||||
}
|
||||
|
||||
// appendAttr appends the Attr's key and value using app.
|
||||
// appendAttr appends the Attr's key and value.
|
||||
// It handles replacement and checking for an empty key.
|
||||
// after replacement).
|
||||
// It reports whether something was appended.
|
||||
func (s *handleState) appendAttr(a Attr) bool {
|
||||
a.Value = a.Value.Resolve()
|
||||
|
Loading…
Reference in New Issue
Block a user