File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ Pass-by-value
126
126
127
127
In pass-by-value, if `A ` is an l-value expression, `foo(A) ` copies the
128
128
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.
130
130
131
131
Most modern languages are pass-by-value, with specific functions able
132
132
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
345
345
because the compiler is adding retains and releases at every single
346
346
level. It's just not a good convention to adopt by default. However,
347
347
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
349
349
for this. `unowned ` is very similar to C++'s `const & ` for things
350
350
like that.
351
351
You can’t perform that action at this time.
0 commit comments