Skip to content

Commit 315e3ff

Browse files
committed
Forgot to add some spaces before backslashes
1 parent e631df3 commit 315e3ff

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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)