about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorLuqman Aden <laden@csclub.uwaterloo.ca>2013-06-20 21:06:13 -0400
committerLuqman Aden <me@luqman.ca>2013-06-25 21:14:39 -0400
commitca2966c6d04958241f13e61310298a5ff69061e2 (patch)
treeddfa1ab38d0dc6eedf6554c61bcacd5d278a155e /src/libsyntax/parse
parent4967bd0508a4d04797e0fff49517b7abbc086b74 (diff)
downloadrust-ca2966c6d04958241f13e61310298a5ff69061e2.tar.gz
rust-ca2966c6d04958241f13e61310298a5ff69061e2.zip
Change finalize -> drop.
Diffstat (limited to 'src/libsyntax/parse')
-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 d8aab1f68ee..d8829da3b31 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -268,7 +268,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 {