Skip to content

Commit 4828d8f

Browse files
committed
Remove unused procsrv::clone function from compiletest
1 parent 291c43a commit 4828d8f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/test/compiletest/procsrv.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,6 @@ fn mk() -> handle {
4545

4646
fn from_chan(ch: &reqchan) -> handle { {task: option::none, chan: ch} }
4747

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-
5548
fn close(handle: &handle) {
5649
task::send(handle.chan, stop);
5750
task::join(option::get(handle.task));

0 commit comments

Comments
 (0)