about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-02-02 02:53:26 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2014-02-02 02:59:03 +1100
commite0c1707560d02bb5805b33cb17e8abfc339eb16b (patch)
tree0344bf214d412e28c8c886c9ba8c483fb5fe9392 /src/libsyntax/parse
parentf502576fc7a97825ee90b01c724b63a4bd4c85aa (diff)
downloadrust-e0c1707560d02bb5805b33cb17e8abfc339eb16b.tar.gz
rust-e0c1707560d02bb5805b33cb17e8abfc339eb16b.zip
Changes from the review of the @str PR.
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/token.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index c0abbb9222b..d6edccd33a4 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -554,13 +554,6 @@ pub struct InternedString {
     priv string: RcStr,
 }
 
-#[unsafe_destructor]
-impl Drop for InternedString {
-    fn drop(&mut self) {
-        // No-op just to make this not implicitly copyable.
-    }
-}
-
 impl InternedString {
     #[inline]
     pub fn new(string: &'static str) -> InternedString {