Skip to content

Commit

Permalink
change comment after backport
Browse files Browse the repository at this point in the history
Signed-off-by: Vilius Okockis <[email protected]>
  • Loading branch information
DeathBorn committed Apr 15, 2024
1 parent 7a8b190 commit a1f1266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/logstats/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func (log *Logger) Flush(w io.Writer) (err error) {
_, err = w.Write(log.b)

// GO 1.21 expression
// clear(log.bvars), this might be leaking
// clear(log.bvars), this is buttery butter
log.bvars = log.bvars[:0]
log.b = log.b[:0]
log.n = 0
Expand Down

0 comments on commit a1f1266

Please sign in to comment.