File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
branches/beta/src/libcore Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
31
31
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
32
32
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
33
33
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34
- refs/heads/beta: be138ed2bd6a4c4bf1c80287569709a9905e4891
34
+ refs/heads/beta: 87db16cecd165ab8ed57dfa308a429868716fdc9
35
35
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
36
36
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37
37
refs/heads/tmp: eb836bf767aa1d8d4cba488a9091cde3c0ab4b2f
Original file line number Diff line number Diff line change 27
27
28
28
use clone:: Clone ;
29
29
30
- /// Types able to be transferred across task boundaries.
30
+ /// Types able to be transferred across thread boundaries.
31
31
#[ unstable = "will be overhauled with new lifetime rules; see RFC 458" ]
32
32
#[ lang="send" ]
33
33
#[ rustc_on_unimplemented = "`{Self}` cannot be sent between threads safely" ]
@@ -148,11 +148,11 @@ pub trait Copy {
148
148
// Empty.
149
149
}
150
150
151
- /// Types that can be safely shared between tasks when aliased.
151
+ /// Types that can be safely shared between threads when aliased.
152
152
///
153
153
/// The precise definition is: a type `T` is `Sync` if `&T` is
154
154
/// thread-safe. In other words, there is no possibility of data races
155
- /// when passing `&T` references between tasks .
155
+ /// when passing `&T` references between threads .
156
156
///
157
157
/// As one would expect, primitive types like `u8` and `f64` are all
158
158
/// `Sync`, and so are simple aggregate types containing them (like
You can’t perform that action at this time.
0 commit comments