diff --git a/source/reference/method/ObjectId.toString.txt b/source/reference/method/ObjectId.toString.txt index bd3670f6313..5c313461136 100644 --- a/source/reference/method/ObjectId.toString.txt +++ b/source/reference/method/ObjectId.toString.txt @@ -15,8 +15,7 @@ ObjectId.toString() value of the ObjectId as a hexadecimal string. In the following example, call the :method:`~ObjectId.toString()` - method on an ObjectId (e.g. ``ObjectId("507c7f79bcf86cd7994f6c0e")``), - as follows: + method on an ObjectId (e.g. ``ObjectId("507c7f79bcf86cd7994f6c0e")``): .. code-block:: javascript diff --git a/source/reference/method/ObjectId.valueOf.txt b/source/reference/method/ObjectId.valueOf.txt index cd8d115c268..0f0573c856d 100644 --- a/source/reference/method/ObjectId.valueOf.txt +++ b/source/reference/method/ObjectId.valueOf.txt @@ -16,7 +16,7 @@ ObjectId.valueOf() In the following example, call the :method:`valueOf() ` method on an ObjectId - (e.g. ``ObjectId("507c7f79bcf86cd7994f6c0e")``), as follows: + (e.g. ``ObjectId("507c7f79bcf86cd7994f6c0e")``): .. code-block:: javascript