1
Fork 0

Fix tidy warnings

This commit is contained in:
Alex Crichton 2017-07-05 14:57:26 -07:00 committed by John Kåre Alsaker
parent d861982ca6
commit 17c749f3ee
29 changed files with 122 additions and 75 deletions

View file

@ -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) &&