about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 4d13b8ac9a5..55e75f07f27 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -98,8 +98,7 @@ class parser {
         self.restricted_keywords = token::restricted_keyword_table();
     }
 
-    //TODO: uncomment when destructors work
-    //drop {} /* do not copy the parser; its state is tied to outside state */
+    drop {} /* do not copy the parser; its state is tied to outside state */
 
     fn bump() {
         self.last_span = self.span;