From: Brad Fitzpatrick Date: Tue, 9 Apr 2013 17:17:35 +0000 (-0700) Subject: io: document non-guarantees of io.Closer X-Git-Tag: go1.1rc2~126 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8691f90cc53f1ebcd27d82c71432ca873a3744ca;p=gostls13.git io: document non-guarantees of io.Closer R=r, golang-dev CC=golang-dev https://golang.org/cl/8575043 --- diff --git a/src/pkg/io/io.go b/src/pkg/io/io.go index 23d05e575a..f901afe423 100644 --- a/src/pkg/io/io.go +++ b/src/pkg/io/io.go @@ -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 }