@@ -53,15 +53,15 @@ type port_id = int;
53
53
// It's critical that this only have one variant, so it has a record
54
54
// layout, and will work in the rust_task structure in task.rs.
55
55
#[ doc(
56
- brief = "A communication endpoint that can send messages.\
56
+ brief = "A communication endpoint that can send messages. \
57
57
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 \
65
65
over other channels."
66
66
) ]
67
67
tag chan<T : send> {
@@ -150,7 +150,7 @@ fn recv_<T: send>(p: *rustrt::rust_port) -> T {
150
150
}
151
151
152
152
#[ doc(
153
- brief = "Constructs a channel. The channel is bound to the\
153
+ brief = "Constructs a channel. The channel is bound to the \
154
154
port used to construct it."
155
155
) ]
156
156
fn chan < T : send > ( p : port < T > ) -> chan < T > {
0 commit comments