diff --git a/source/reference/operator/update/addToSet.txt b/source/reference/operator/update/addToSet.txt index 67775cb80ed..29291f0e5a1 100644 --- a/source/reference/operator/update/addToSet.txt +++ b/source/reference/operator/update/addToSet.txt @@ -9,9 +9,8 @@ Definition .. update:: $addToSet - The :update:`$addToSet` operator adds a value to an array only *if* the - value is *not* already in the array. If the value *is* in the - array, :update:`$addToSet` does not modify the + The :update:`$addToSet` operator adds a value to an array unless the value + is already present, in which case :update:`$addToSet` does nothing to that array. The :update:`$addToSet` operator has the form: diff --git a/source/reference/operator/update/push.txt b/source/reference/operator/update/push.txt index caab3151adf..17210d0b7b2 100644 --- a/source/reference/operator/update/push.txt +++ b/source/reference/operator/update/push.txt @@ -15,7 +15,7 @@ Definition .. code-block:: javascript - { $push: { : , ... } + { $push: { : , ... } } .. include:: /includes/use-dot-notation.rst