diff options
| author | Flavio Percoco <flaper87@gmail.com> | 2014-03-27 00:01:11 +0100 |
|---|---|---|
| committer | Flavio Percoco <flaper87@gmail.com> | 2014-03-28 10:34:02 +0100 |
| commit | 81ec1f3c186cd64450d8141aab467f0a1f3a7ebd (patch) | |
| tree | 025bc116bb409b5514e9b42d62f19464531dffcd /src/libstd/task.rs | |
| parent | ff64381c8bf6a49a0671287de5f5b7316ae2ef9c (diff) | |
| download | rust-81ec1f3c186cd64450d8141aab467f0a1f3a7ebd.tar.gz rust-81ec1f3c186cd64450d8141aab467f0a1f3a7ebd.zip | |
Rename Pod into Copy
Summary: So far, we've used the term POD "Plain Old Data" to refer to types that can be safely copied. However, this term is not consistent with the other built-in bounds that use verbs instead. This patch renames the Pod kind into Copy. RFC: 0003-opt-in-builtin-traits Test Plan: make check Reviewers: cmr Differential Revision: http://phabricator.octayn.net/D3
Diffstat (limited to 'src/libstd/task.rs')
| -rw-r--r-- | src/libstd/task.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/task.rs b/src/libstd/task.rs index c158ddf0d83..c3d02236948 100644 --- a/src/libstd/task.rs +++ b/src/libstd/task.rs @@ -87,7 +87,7 @@ pub struct TaskBuilder { /// Options to spawn the new task with opts: TaskOpts, priv gen_body: Option<proc:Send(v: proc:Send()) -> proc:Send()>, - priv nopod: Option<marker::NoPod>, + priv nocopy: Option<marker::NoCopy>, } /** @@ -98,7 +98,7 @@ pub fn task() -> TaskBuilder { TaskBuilder { opts: TaskOpts::new(), gen_body: None, - nopod: None, + nocopy: None, } } |
