Skip to content

Commit f30c5ea

Browse files
committed
Remove leftover comm.rs in std
(The actual comm module lives in core.)
1 parent 0945fcf commit f30c5ea

File tree

6 files changed

+7
-199
lines changed

6 files changed

+7
-199
lines changed

src/libcore/comm.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ shared boxes (@T) may not be transmitted across channels.
1515
1616
Example:
1717
18-
> import std::{task, comm, io};
19-
>
2018
> let p = comm::port();
2119
> task::spawn(comm::chan(p), fn (c: chan<str>) {
2220
> comm::send(c, "Hello, World");

src/libstd/comm.rs

Lines changed: 0 additions & 186 deletions
This file was deleted.

src/libstd/std.rc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#[license = "MIT"];
88
#[crate_type = "lib"];
99

10-
export comm, fs, io, net, run, uv;
10+
export fs, io, net, run, uv;
1111
export c_vec, four, tri, util;
1212
export bitv, deque, fun_treemap, list, map, smallintmap, sort, treemap, ufind;
1313
export rope;
@@ -19,7 +19,6 @@ export generic_os, os, os_fs;
1919

2020
// General io and system-services modules
2121

22-
mod comm;
2322
mod fs;
2423
mod io;
2524
mod net;

src/test/run-pass/sendfn-deep-copy.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
use std;
22

3-
import std::comm;
4-
import std::comm::chan;
5-
import std::comm::send;
3+
import comm::chan;
4+
import comm::send;
65

76
fn main() { test05(); }
87

src/test/run-pass/sendfn-generic-fn.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
use std;
22

3-
import std::comm;
4-
import std::comm::chan;
5-
import std::comm::send;
3+
import comm::chan;
4+
import comm::send;
65

76
fn main() { test05(); }
87

src/test/run-pass/sendfn-spawn-with-fn-arg.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
use std;
22

3-
import std::comm;
4-
import std::comm::chan;
5-
import std::comm::send;
3+
import comm::chan;
4+
import comm::send;
65

76
fn main() { test05(); }
87

0 commit comments

Comments
 (0)