about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2012-01-09 14:44:52 +0100
committerMarijn Haverbeke <marijnh@gmail.com>2012-01-09 14:44:52 +0100
commit0945fcf1fbd964157445f99f4a945ae4110da372 (patch)
treebb1375906c5dc6657aada387472f71ee45ce52ba
parent47cfeba4675906dceb92e0a6b2846146ff888581 (diff)
downloadrust-0945fcf1fbd964157445f99f4a945ae4110da372.tar.gz
rust-0945fcf1fbd964157445f99f4a945ae4110da372.zip
Fix typo in example in libcore docs
-rw-r--r--src/libcore/comm.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/comm.rs b/src/libcore/comm.rs
index d8051dfabd1..993fc78f149 100644
--- a/src/libcore/comm.rs
+++ b/src/libcore/comm.rs
@@ -15,7 +15,7 @@ shared boxes (@T) may not be transmitted across channels.
 
 Example:
 
-> use std::{task, comm, io};
+> import std::{task, comm, io};
 >
 > let p = comm::port();
 > task::spawn(comm::chan(p), fn (c: chan<str>) {