about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-06-25 20:29:06 -0700
committerbors <bors@rust-lang.org>2013-06-25 20:29:06 -0700
commit22408d9ad536975002b4d43f232033eca4482741 (patch)
treee40c4ceeb90cd3933f264ff4fa73fd88d52e3c0d /src/libsyntax/parse/parser.rs
parente9ac7194ff31792e2eca2c745fbef309a2daba86 (diff)
parentca2966c6d04958241f13e61310298a5ff69061e2 (diff)
downloadrust-22408d9ad536975002b4d43f232033eca4482741.tar.gz
rust-22408d9ad536975002b4d43f232033eca4482741.zip
auto merge of #7269 : luqmana/rust/drop, r=thestinger
Finally rename finalize to drop.
Closes #4332.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 35c09ff1b56..b10005aeaf1 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -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 {