diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2014-12-13 23:06:44 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2014-12-15 15:33:37 -0500 |
| commit | 556d971f83ea5950444b0a5b5392cd0040f077f6 (patch) | |
| tree | 26bd1449ae9625a61a4d9c52ab5050f0c86c376e /src/libstd/task.rs | |
| parent | 1b97cd338b5d425b24e821e815d84005e38b390a (diff) | |
| download | rust-556d971f83ea5950444b0a5b5392cd0040f077f6.tar.gz rust-556d971f83ea5950444b0a5b5392cd0040f077f6.zip | |
Remove internal uses of `marker::NoCopy`
Diffstat (limited to 'src/libstd/task.rs')
| -rw-r--r-- | src/libstd/task.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libstd/task.rs b/src/libstd/task.rs index 562afd33e2f..324b594209a 100644 --- a/src/libstd/task.rs +++ b/src/libstd/task.rs @@ -49,7 +49,7 @@ use boxed::Box; use comm::channel; use core::ops::FnOnce; use io::{Writer, stdio}; -use kinds::{Send, marker}; +use kinds::Send; use option::Option; use option::Option::{None, Some}; use result::Result; @@ -83,7 +83,6 @@ pub struct TaskBuilder { stderr: Option<Box<Writer + Send>>, // Optionally wrap the eventual task body gen_body: Option<Thunk<Thunk, Thunk>>, - nocopy: marker::NoCopy, } impl TaskBuilder { @@ -96,7 +95,6 @@ impl TaskBuilder { stdout: None, stderr: None, gen_body: None, - nocopy: marker::NoCopy, } } } @@ -137,7 +135,7 @@ impl TaskBuilder { on_exit: Option<Thunk<task::Result>>) { let TaskBuilder { - name, stack_size, stdout, stderr, mut gen_body, nocopy: _ + name, stack_size, stdout, stderr, mut gen_body } = self; let f = match gen_body.take() { |
