Commit 8691f90c authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

io: document non-guarantees of io.Closer

R=r, golang-dev
CC=golang-dev
https://golang.org/cl/8575043
parent 0d932d43
......@@ -70,6 +70,9 @@ type Writer interface {
}
// Closer is the interface that wraps the basic Close method.
//
// The behavior of Close after the first call is undefined.
// Specific implementations may document their own behavior.
type Closer interface {
Close() error
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment