Update lib.go
This commit is contained in:
parent
caf622f43f
commit
3b1b460e6a
6
lib.go
6
lib.go
@ -154,9 +154,9 @@ func (w *Writer) WriteRune(r rune) (int, error) {
|
||||
}
|
||||
|
||||
// Flush makes the underlying editors to release their associated state, and writes out the resulting text to
|
||||
// the underlying io.Writer, but first passes it to the subsequent editors for editing. When the used editor
|
||||
// instances comply with the expectations of the Editor interface, the writer will have a fresh state and can be
|
||||
// reused for further editing. The Flush method of underlying writers is not called.
|
||||
// the underlying io.Writer, but first passes it to the subsequent editors for editing. Is there were no errors,
|
||||
// and the used editor instances comply with the expectations of the Editor interface, the writer will have a
|
||||
// fresh state and can be reused for further editing. The Flush method of underlying writers is not called.
|
||||
func (w *Writer) Flush() error {
|
||||
return w.flush()
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user