diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-07-05 14:57:26 -0700 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2017-07-28 15:46:23 +0200 |
| commit | 17c749f3eee953e204462870e68b64712a5c3576 (patch) | |
| tree | 8d8646f6ab4e25b1ee09359c936a18f27e9d376a /src/libsyntax/parse/parser.rs | |
| parent | d861982ca6a1fa5773373362771aa08b9f732de0 (diff) | |
| download | rust-17c749f3eee953e204462870e68b64712a5c3576.tar.gz rust-17c749f3eee953e204462870e68b64712a5c3576.zip | |
Fix tidy warnings
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 c377a77d87f..6b825a9d401 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -3714,7 +3714,7 @@ impl<'a> Parser<'a> { self.token.is_keyword(keywords::Gen) && self.look_ahead(1, |t| t.is_keyword(keywords::Arg)) } - + fn is_defaultness(&self) -> bool { // `pub` is included for better error messages self.token.is_keyword(keywords::Default) && |
