We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9be289 commit dd8d95aCopy full SHA for dd8d95a
docs/OptimizationTips.rst
@@ -245,7 +245,7 @@ this allows the compiler to elide unnecessary copies by retaining the container
245
instead of performing a deep copy. This is done by only copying the underlying
246
container if the reference count of the container is greater than 1 and the
247
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
+``c`` is assigned to ``d``, but when ``d`` undergoes structural mutation by
249
appending ``2``, ``d`` will be copied and then ``2`` will be appended to ``d``:
250
251
::
0 commit comments