about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/io.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/io.rs b/src/libcore/io.rs
index dcb9e23b45b..b580d9c84a8 100644
--- a/src/libcore/io.rs
+++ b/src/libcore/io.rs
@@ -593,7 +593,7 @@ pub struct BytesReader {
     mut pos: uint
 }
 
-impl Reader for BytesReader/&self {
+impl Reader for BytesReader<'self> {
     fn read(&self, bytes: &mut [u8], len: uint) -> uint {
         let count = uint::min(len, self.bytes.len() - self.pos);