Skip to content

Commit cbdbcaa

Browse files
committed
internal: fix up and clarify a doc comment
1 parent d246196 commit cbdbcaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/s3util/s3util.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ func NewETagReader(r io.Reader) ETagReader {
5959
}
6060

6161
// ETagReader implements the [io.Reader] interface by delegating to a nested
62-
// reader, Once the contents are completely read, the ETag method returns
63-
// a correctly-formatted S3 ETag for the contents.
62+
// reader. The ETag method returns a correctly-formatted S3 ETag for all the
63+
// data that have been read so far (initially none).
6464
type ETagReader struct {
6565
r io.Reader
6666
hash hash.Hash

0 commit comments

Comments
 (0)