Don't use static default method
- also removed redundant assignment to is_mutbl - updated copyright
This commit is contained in:
@@ -1086,7 +1086,6 @@ impl Parser {
|
||||
self.expect(&token::COLON);
|
||||
pat
|
||||
} else {
|
||||
is_mutbl = false;
|
||||
ast_util::ident_to_pat(self.get_id(),
|
||||
*self.last_span,
|
||||
special_idents::invalid)
|
||||
|
||||
Reference in New Issue
Block a user