]> git.lizzy.rs Git - rust.git/commitdiff
Fix typo in example in libcore docs
authorMarijn Haverbeke <marijnh@gmail.com>
Mon, 9 Jan 2012 13:44:52 +0000 (14:44 +0100)
committerMarijn Haverbeke <marijnh@gmail.com>
Mon, 9 Jan 2012 13:44:52 +0000 (14:44 +0100)
src/libcore/comm.rs

index d8051dfabd17720360d13bfad98608e4485ecbb4..993fc78f1497eaf0cbf51cdc41669c38a0fe9570 100644 (file)
@@ -15,7 +15,7 @@
 
 Example:
 
-> use std::{task, comm, io};
+> import std::{task, comm, io};
 >
 > let p = comm::port();
 > task::spawn(comm::chan(p), fn (c: chan<str>) {