Skip to content

Commit 19c55a6

Browse files
authored
Merge pull request #35616 from teameh/patch-2
2 parents 51add39 + dd8d95a commit 19c55a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/OptimizationTips.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ this allows the compiler to elide unnecessary copies by retaining the container
245245
instead of performing a deep copy. This is done by only copying the underlying
246246
container if the reference count of the container is greater than 1 and the
247247
container is mutated. For instance in the following, no copying will occur when
248-
``d`` is assigned to ``c``, but when ``d`` undergoes structural mutation by
248+
``c`` is assigned to ``d``, but when ``d`` undergoes structural mutation by
249249
appending ``2``, ``d`` will be copied and then ``2`` will be appended to ``d``:
250250

251251
::

0 commit comments

Comments
 (0)