diff options
| author | Roland Tanglao <roland@rolandtanglao.com> | 2012-01-16 22:41:56 -0800 |
|---|---|---|
| committer | Roland Tanglao <roland@rolandtanglao.com> | 2012-01-16 22:41:56 -0800 |
| commit | 315e3ff8dd73418b6730451d91e0032c8abe2f49 (patch) | |
| tree | 40be127bb9746aa3d3fc09a876e8ed12691b0e8d /src/libcore | |
| parent | e631df3429a3edbb8baf27a7a4ba157e08ebded4 (diff) | |
| download | rust-315e3ff8dd73418b6730451d91e0032c8abe2f49.tar.gz rust-315e3ff8dd73418b6730451d91e0032c8abe2f49.zip | |
Forgot to add some spaces before backslashes
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/comm.rs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/libcore/comm.rs b/src/libcore/comm.rs index 211741aa3c5..1976e4b9c1a 100644 --- a/src/libcore/comm.rs +++ b/src/libcore/comm.rs @@ -53,15 +53,15 @@ type port_id = int; // It's critical that this only have one variant, so it has a record // layout, and will work in the rust_task structure in task.rs. #[doc( - brief = "A communication endpoint that can send messages.\ + brief = "A communication endpoint that can send messages. \ Channels send messages to ports.", - desc = "Each channel is bound to a port when the channel is\ - constructed, so the destination port for a channel\ - must exist before the channel itself.\ - Channels are weak: a channel does not keep the port it\ - is bound to alive. If a channel attempts to send data\ - to a dead port that data will be silently dropped.\ - Channels may be duplicated and themselves transmitted\ + desc = "Each channel is bound to a port when the channel is \ + constructed, so the destination port for a channel \ + must exist before the channel itself. \ + Channels are weak: a channel does not keep the port it \ + is bound to alive. If a channel attempts to send data \ + to a dead port that data will be silently dropped. \ + Channels may be duplicated and themselves transmitted \ over other channels." )] tag chan<T: send> { @@ -150,7 +150,7 @@ fn recv_<T: send>(p: *rustrt::rust_port) -> T { } #[doc( - brief = "Constructs a channel. The channel is bound to the\ + brief = "Constructs a channel. The channel is bound to the \ port used to construct it." )] fn chan<T: send>(p: port<T>) -> chan<T> { |
