diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-03-14 12:25:48 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-03-18 17:21:15 -0700 |
| commit | c4db4faefaf13ac814f34c2a6cf105b7684de019 (patch) | |
| tree | 77aef8ed0a89e3faab9021179a61b27b2b810660 /src/libcore | |
| parent | 352c070365c941e174c17574f7fb3231e2981c5d (diff) | |
| download | rust-c4db4faefaf13ac814f34c2a6cf105b7684de019.tar.gz rust-c4db4faefaf13ac814f34c2a6cf105b7684de019.zip | |
libsyntax: Stop parsing old lifetimes, except for the ones on data type declarations.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/io.rs | 2 |
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); |
