diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-03-14 11:22:51 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-03-18 17:21:14 -0700 |
| commit | 352c070365c941e174c17574f7fb3231e2981c5d (patch) | |
| tree | 1621d3e503e0112d7dd11d76baf6f61de77e8717 /src/libsyntax/parse/parser.rs | |
| parent | 7352d919f62350bd24aefe0f188203ebef833fd5 (diff) | |
| download | rust-352c070365c941e174c17574f7fb3231e2981c5d.tar.gz rust-352c070365c941e174c17574f7fb3231e2981c5d.zip | |
librustc: Convert all uses of old lifetime notation to new lifetime notation. rs=delifetiming
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index a30b910b347..7b7d246c324 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -708,7 +708,7 @@ pub impl Parser { } fn parse_borrowed_pointee(&self) -> ty_ { - // look for `&'lt` or `&foo/` and interpret `foo` as the region name: + // look for `&'lt` or `&'foo ` and interpret `foo` as the region name: let opt_lifetime = self.parse_opt_lifetime(); if self.token_is_closure_keyword(© *self.token) { |
