Skip to content

Commit feb20c3

Browse files
authored
(DOCS-13384): correct typo in Decode docs (#289)
1 parent 4313e32 commit feb20c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mongo/single_result.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type SingleResult struct {
2929
}
3030

3131
// Decode will unmarshal the document represented by this SingleResult into v. If there was an error from the operation
32-
// that created this SingleResult, that error will be returned. If the operation returned no documents, DecodeBytes will
32+
// that created this SingleResult, that error will be returned. If the operation returned no documents, Decode will
3333
// return ErrNoDocuments.
3434
//
3535
// If the operation was successful and returned a document, Decode will return any errors from the unmarshalling process

0 commit comments

Comments
 (0)