Skip to content

Commit 2749ef5

Browse files
committed
Fix stale 'copy' occurrences to 'move' in comments.
1 parent ed96d10 commit 2749ef5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/comp/middle/kind.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Every type has a kind. Every type parameter has a set of kind-capabilities
55
* saying which kind of type may be passed as the parameter.
66
*
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
88
* present or absent, though only three of the four combinations can actually
99
* occur:
1010
*
@@ -26,7 +26,7 @@
2626
*
2727
* Since this forms a lattice, we denote the capabilites in terms of a
2828
* 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,
3030
* you write fn<@T>(...). And if you need neither -- can work with any sort of
3131
* pinned data at all -- then you write fn<T>(...).
3232
*

0 commit comments

Comments
 (0)