Skip to content

Commit

Permalink
docs typo
Browse files Browse the repository at this point in the history
  • Loading branch information
neilotoole committed Mar 13, 2024
1 parent 9aba1a0 commit fdd8aaf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions streamcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -646,8 +646,7 @@ func (r *Reader) Read(p []byte) (n int, err error) {
// Close closes this Reader. If the parent Stream is not sealed, this method
// ultimately returns nil. If the parent Stream is sealed and this is the last
// remaining reader, the Stream's source reader is closed, if it implements
// io.Closer. At that point, and the channel returned by Stream.Done
// is closed.
// io.Closer. At that point, the channel returned by Stream.Done is closed.
//
// If you don't want the source to be closed, wrap it via io.NopCloser before
// passing it to streamcache.New.
Expand Down

0 comments on commit fdd8aaf

Please sign in to comment.