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 4
4
* Every type has a kind. Every type parameter has a set of kind-capabilities
5
5
* saying which kind of type may be passed as the parameter.
6
6
*
7
- * The kinds are based on two capabilities: copy and send. These may each be
7
+ * The kinds are based on two capabilities: move and send. These may each be
8
8
* present or absent, though only three of the four combinations can actually
9
9
* occur:
10
10
*
26
26
*
27
27
* Since this forms a lattice, we denote the capabilites in terms of a
28
28
* worst-case requirement. That is, if your function needs to move-and-send
29
- * (or copy) your T, you write fn<~T>(...). If you need to copy but not send,
29
+ * (or copy) your T, you write fn<~T>(...). If you need to move but not send,
30
30
* you write fn<@T>(...). And if you need neither -- can work with any sort of
31
31
* pinned data at all -- then you write fn<T>(...).
32
32
*
You can’t perform that action at this time.
0 commit comments