about summary refs log tree commit diff
path: root/doc/complement-cheatsheet.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/complement-cheatsheet.md')
-rw-r--r--doc/complement-cheatsheet.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/complement-cheatsheet.md b/doc/complement-cheatsheet.md
index 4c106a357e6..770b0ad1421 100644
--- a/doc/complement-cheatsheet.md
+++ b/doc/complement-cheatsheet.md
@@ -62,8 +62,8 @@ let reader : File = File::open(&path).unwrap_or_else(on_error);
 Use the [`lines`](http://static.rust-lang.org/doc/master/std/io/trait.Buffer.html#method.lines) method on a [`BufferedReader`](http://static.rust-lang.org/doc/master/std/io/buffered/struct.BufferedReader.html).
 
 ~~~
-use std::io::buffered::BufferedReader;
-# use std::io::mem::MemReader;
+use std::io::BufferedReader;
+# use std::io::MemReader;
 
 # let reader = MemReader::new(~[]);