switch Drop to &mut self
This commit is contained in:
parent
bc89ade401
commit
4e161a4d40
129 changed files with 192 additions and 203 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue