diff options
| author | Sean Moon <ssamoon@ucla.edu> | 2013-05-09 02:34:47 +0900 |
|---|---|---|
| committer | Sean Moon <ssamoon@ucla.edu> | 2013-05-09 02:34:47 +0900 |
| commit | bd4ee7c7d2f00e8c41824fac7e5d155dff40c25f (patch) | |
| tree | 6b48543d67f951fd3537a8624f2f203c5d910496 /src/libstd/flatpipes.rs | |
| parent | 37becd887e74383cafd2930a87dfbb8f19c5af15 (diff) | |
Fix typos
Diffstat (limited to 'src/libstd/flatpipes.rs')
| -rw-r--r-- | src/libstd/flatpipes.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/flatpipes.rs b/src/libstd/flatpipes.rs index 88de53f3605..874b96fd588 100644 --- a/src/libstd/flatpipes.rs +++ b/src/libstd/flatpipes.rs @@ -15,7 +15,7 @@ or transformed to and from, byte vectors. The `FlatPort` and `FlatChan` types implement the generic channel and port interface for arbitrary types and transport strategies. It can -particularly be used to send and recieve serializable types over I/O +particularly be used to send and receive serializable types over I/O streams. `FlatPort` and `FlatChan` implement the same comm traits as pipe-based @@ -55,7 +55,7 @@ use core::sys::size_of; use core::vec; /** -A FlatPort, consisting of a `BytePort` that recieves byte vectors, +A FlatPort, consisting of a `BytePort` that receives byte vectors, and an `Unflattener` that converts the bytes to a value. Create using the constructors in the `serial` and `pod` modules. @@ -819,7 +819,7 @@ mod test { } } - // Reciever task + // Receiver task do task::spawn || { // Wait for a connection let (conn, res_chan) = accept_port.recv(); @@ -838,7 +838,7 @@ mod test { for int::range(0, 10) |i| { let j = port.recv(); - debug!("receieved %?", j); + debug!("received %?", j); assert!(i == j); } |
