Skip to content

Commit eac390a

Browse files
committed
---
yaml --- r: 7361 b: refs/heads/master c: 315e3ff h: refs/heads/master i: 7359: dc74fe0 v: v3
1 parent 0e3c885 commit eac390a

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: e631df3429a3edbb8baf27a7a4ba157e08ebded4
2+
refs/heads/master: 315e3ff8dd73418b6730451d91e0032c8abe2f49

trunk/src/libcore/comm.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ type port_id = int;
5353
// It's critical that this only have one variant, so it has a record
5454
// layout, and will work in the rust_task structure in task.rs.
5555
#[doc(
56-
brief = "A communication endpoint that can send messages.\
56+
brief = "A communication endpoint that can send messages. \
5757
Channels send messages to ports.",
58-
desc = "Each channel is bound to a port when the channel is\
59-
constructed, so the destination port for a channel\
60-
must exist before the channel itself.\
61-
Channels are weak: a channel does not keep the port it\
62-
is bound to alive. If a channel attempts to send data\
63-
to a dead port that data will be silently dropped.\
64-
Channels may be duplicated and themselves transmitted\
58+
desc = "Each channel is bound to a port when the channel is \
59+
constructed, so the destination port for a channel \
60+
must exist before the channel itself. \
61+
Channels are weak: a channel does not keep the port it \
62+
is bound to alive. If a channel attempts to send data \
63+
to a dead port that data will be silently dropped. \
64+
Channels may be duplicated and themselves transmitted \
6565
over other channels."
6666
)]
6767
tag chan<T: send> {
@@ -150,7 +150,7 @@ fn recv_<T: send>(p: *rustrt::rust_port) -> T {
150150
}
151151

152152
#[doc(
153-
brief = "Constructs a channel. The channel is bound to the\
153+
brief = "Constructs a channel. The channel is bound to the \
154154
port used to construct it."
155155
)]
156156
fn chan<T: send>(p: port<T>) -> chan<T> {

0 commit comments

Comments
 (0)