Skip to content

Commit

Permalink
Update w.go
Browse files Browse the repository at this point in the history
  • Loading branch information
elee1766 authored Oct 26, 2023
1 parent dca920e commit 25d6372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion w.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (w *Writer) Grow(n int) {
w.Buf = buf.Bytes()
}

// flush flushes the stream
// Flush flushes the stream. It does nothing if not in streaming mode
func (w *Writer) Flush() (fail bool) {
if w.stream != nil {
w.Buf, fail = w.stream.flush(w.Buf)
Expand Down

0 comments on commit 25d6372

Please sign in to comment.