Skip to content

Commit 48f1cab

Browse files
committed
update intro and code comments
1 parent 89b3517 commit 48f1cab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/crud/update.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ exisiting documents in the ``restaurants`` collection. Select the
265265
.. tab:: Struct
266266
:tabid: structExample
267267

268-
The following code uses a struct to define the filter and update multiple document in the ``restuarants`` collection:
268+
The following code uses a struct to define the filter and update multiple documents in the ``restuarants`` collection:
269269

270270
.. io-code-block::
271271
:copyable: true
@@ -283,7 +283,7 @@ exisiting documents in the ``restaurants`` collection. Select the
283283
.. tab:: bson.D
284284
:tabid: bsonDExample
285285

286-
The following code uses a ``bson.D`` type to define the filter and update multiple document in the ``restuarants`` collection:
286+
The following code uses a ``bson.D`` type to define the filter and update multiple documents in the ``restuarants`` collection:
287287

288288
.. io-code-block::
289289
:copyable: true

source/includes/usage-examples/code-snippets/updateMany.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type Restaurant struct {
2121
AverageRating float64 `bson:"avg_rating,omitempty"`
2222
}
2323

24-
// Create a filter struct to specify the document to update
24+
// Create a filter struct to specify the documents to update
2525
type UpdateManyRestaurantFilter struct {
2626
Cuisine string `bson:"cuisine"`
2727
Borough string `bson:"borough"`

0 commit comments

Comments
 (0)