Ensure that Conn implements io.ReadWriteCloser.

This commit is contained in:
Yawning Angel 2015-03-18 16:41:13 +00:00
parent ae9457c354
commit 9592666abd
1 changed files with 2 additions and 0 deletions

View File

@ -226,3 +226,5 @@ func NewConn(c io.ReadWriteCloser) *Conn {
func newProtocolError(fmt string, args ...interface{}) textproto.ProtocolError {
return textproto.ProtocolError(gofmt.Sprintf(fmt, args...))
}
var _ io.ReadWriteCloser = (*Conn)(nil)