Skip to content

Commit 897aa8f

Browse files
authored
fix typo in comment (#897)
1 parent b8d17a9 commit 897aa8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mongo/gridfs/bucket.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ func (b *Bucket) OpenDownloadStream(fileID interface{}) (*DownloadStream, error)
196196
}
197197

198198
// DownloadToStream downloads the file with the specified fileID and writes it to the provided io.Writer.
199-
// Returns the number of bytes written to the steam and an error, or nil if there was no error.
199+
// Returns the number of bytes written to the stream and an error, or nil if there was no error.
200200
//
201201
// If this download requires a custom read deadline to be set on the bucket, it cannot be done concurrently with other
202202
// read operations operations on this bucket that also require a custom deadline.

0 commit comments

Comments
 (0)