auto merge of #7269 : luqmana/rust/drop, r=thestinger
Finally rename finalize to drop. Closes #4332.
This commit is contained in:
@@ -266,7 +266,7 @@ pub struct Parser {
|
||||
#[unsafe_destructor]
|
||||
impl Drop for Parser {
|
||||
/* do not copy the parser; its state is tied to outside state */
|
||||
fn finalize(&self) {}
|
||||
fn drop(&self) {}
|
||||
}
|
||||
|
||||
impl Parser {
|
||||
|
||||
Reference in New Issue
Block a user