Skip to content

Commit d3635e6

Browse files
committed
s/takes/gets/ in doc table header
1 parent 8809ae7 commit d3635e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cpp2/functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ There are six ways to pass parameters that cover all use cases, that can be writ
4545
| Parameter ***kind*** | "Pass an `x` the function ______" | Accepts arguments that are | Special semantics | ***kind*** `x: X` Compiles to Cpp1 as |
4646
|---|---|---|---|---|
4747
| `in` (default) | can read from | anything | always `#!cpp const`<p>automatically passes by value if cheaply copyable | `X const x` or `X const& x` |
48-
| `copy` | takes a copy of | anything | acts like a normal local variable initialized with the argument | `X x` |
48+
| `copy` | gets a copy of | anything | acts like a normal local variable initialized with the argument | `X x` |
4949
| `inout` | can read from and write to | lvalues | | `X& x` |
5050
| `out` | writes to (including construct) | lvalues (including uninitialized) | must `=` assign/construct before other uses | `cpp2::impl::out<X>` |
5151
| `move` | moves from (consume the value of) | rvalues | automatically moves from every definite last use | `X&&` |

0 commit comments

Comments
 (0)