Update README.md

Co-Authored-By: Aleksandr Hovhannisyan <aleksandrhovhannisyan@gmail.com>
This commit is contained in:
Lasse Martin Jakobsen 2019-07-28 09:16:52 +02:00 committed by GitHub
parent 3605215928
commit d2307c8f36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1217,7 +1217,7 @@ func main() {
closer := MyReadCloser{}
closer.Read([]byte{1, 2, 3}) // works fine
closer.Close() // causes panic
closer.Close() // causes panic
closer.ReadCloser.Closer() // no panic
}
```