switch Drop to &mut self

This commit is contained in:
Daniel Micay 2013-09-16 21:18:07 -04:00
parent bc89ade401
commit 4e161a4d40
129 changed files with 192 additions and 203 deletions

View file

@ -341,7 +341,7 @@ pub struct Parser {
#[unsafe_destructor]
impl Drop for Parser {
/* do not copy the parser; its state is tied to outside state */
fn drop(&self) {}
fn drop(&mut self) {}
}
fn is_plain_ident_or_underscore(t: &token::Token) -> bool {