Skip to content

Commit d41a7cc

Browse files
authored
Fix typo within WriteConcern docs (#1579)
1 parent d90de95 commit d41a7cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mongo/writeconcern/writeconcern.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var ErrNegativeW = errors.New("write concern `w` field cannot be a negative numb
4242
// Deprecated: ErrNegativeWTimeout will be removed in Go Driver 2.0.
4343
var ErrNegativeWTimeout = errors.New("write concern `wtimeout` field cannot be negative")
4444

45-
// A WriteConcern defines a MongoDB read concern, which describes the level of acknowledgment
45+
// A WriteConcern defines a MongoDB write concern, which describes the level of acknowledgment
4646
// requested from MongoDB for write operations to a standalone mongod, to replica sets, or to
4747
// sharded clusters.
4848
//

0 commit comments

Comments
 (0)