Skip to content

Commit 5ce8618

Browse files
authored
Fix typo in BSON documentation (#520)
1 parent 935fe3f commit 5ce8618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bson/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
// 6. BSON embedded document unmarshals to the parent type (i.e. D for a D, M for an M).
4444
// 7. BSON array unmarshals to a bson.A.
4545
// 8. BSON ObjectId unmarshals to a primitive.ObjectID.
46-
// 9. BSON datetime unmarshals to a primitive.Datetime.
46+
// 9. BSON datetime unmarshals to a primitive.DateTime.
4747
// 10. BSON binary unmarshals to a primitive.Binary.
4848
// 11. BSON regular expression unmarshals to a primitive.Regex.
4949
// 12. BSON JavaScript unmarshals to a primitive.JavaScript.

0 commit comments

Comments
 (0)