From 25d63720ace6643fd778c3066f4f4f74bc47f0fc Mon Sep 17 00:00:00 2001 From: a Date: Thu, 26 Oct 2023 11:37:58 -0500 Subject: [PATCH] Update w.go --- w.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/w.go b/w.go index 65eb3f1..94ae564 100644 --- a/w.go +++ b/w.go @@ -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)