Skip to content

Commit e9eedab

Browse files
terakilobytep-mongo
authored andcommitted
DOCS-10373 fix quotes (#122)
1 parent bcd90ec commit e9eedab

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/tutorials/bson-v3.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ you wish to instantiate and passing it the ``StringIO`` bytes.
5858
Int32.from_bson(string_io)
5959

6060
Core Ruby objects that are represented in the BSON specification and
61-
have a ``to_bson`` method defined for them are:
61+
have a ``to_bson`` method defined for them are:
6262

6363
- ``Object``
6464
- ``Array``
@@ -86,7 +86,7 @@ a subtype when constructing.
8686

8787
BSON::Binary.new(binary_data, :md5)
8888

89-
Valid subtypes are:
89+
Valid subtypes are:
9090

9191
- ``:generic``
9292
- ``:function``
@@ -188,7 +188,7 @@ them.
188188
- ``{ "$binary" : "\x01", "$type" : "md5" }``
189189

190190
* - ``BSON::Code``
191-
- ``{ "$code" : "this.v = 5 }``
191+
- ``{ "$code" : "this.v = 5" }``
192192

193193
* - ``BSON::CodeWithScope``
194194
- ``{ "$code" : "this.v = value", "$scope" : { v => 5 }}``

docs/tutorials/bson-v4.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ them.
248248
- ``{ "$binary" : "\x01", "$type" : "md5" }``
249249

250250
* - ``BSON::Code``
251-
- ``{ "$code" : "this.v = 5 }``
251+
- ``{ "$code" : "this.v = 5" }``
252252

253253
* - ``BSON::CodeWithScope``
254254
- ``{ "$code" : "this.v = value", "$scope" : { v => 5 }}``

0 commit comments

Comments
 (0)