We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 291c43a commit 4828d8fCopy full SHA for 4828d8f
src/test/compiletest/procsrv.rs
@@ -45,13 +45,6 @@ fn mk() -> handle {
45
46
fn from_chan(ch: &reqchan) -> handle { {task: option::none, chan: ch} }
47
48
-fn clone(handle: &handle) -> handle {
49
-
50
- // Sharing tasks across tasks appears to be (yet another) recipe for
51
- // disaster, so our handle clones will not get the task pointer.
52
- {task: option::none, chan: task::clone_chan(handle.chan)}
53
-}
54
55
fn close(handle: &handle) {
56
task::send(handle.chan, stop);
57
task::join(option::get(handle.task));
0 commit comments