Skip to content

Commit 5d21900

Browse files
committed
Merge pull request swiftlang#76 from serejahh/fix_typos
Fix typos
2 parents 929aab4 + 411c7df commit 5d21900

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/CallingConvention.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Pass-by-value
126126

127127
In pass-by-value, if `A` is an l-value expression, `foo(A)` copies the
128128
current value there. Any modifications `foo` makes to its parameter
129-
are make to this copy, not to the original l-value.
129+
are made to this copy, not to the original l-value.
130130

131131
Most modern languages are pass-by-value, with specific functions able
132132
to opt in to pass-by-reference semantics. This is exactly what Swift
@@ -345,7 +345,7 @@ just add default arguments at each step) have really awful performance
345345
because the compiler is adding retains and releases at every single
346346
level. It's just not a good convention to adopt by default. However,
347347
we might want to consider allowing specific function parameters to opt
348-
into it; sort comparators are an particularly interesting candidate
348+
into it; sort comparators are a particularly interesting candidate
349349
for this. `unowned` is very similar to C++'s `const &` for things
350350
like that.
351351

0 commit comments

Comments
 (0)