From e0c1707560d02bb5805b33cb17e8abfc339eb16b Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Sun, 2 Feb 2014 02:53:26 +1100 Subject: Changes from the review of the @str PR. --- src/libsyntax/parse/token.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/libsyntax/parse') 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 { -- cgit 1.4.1-3-g733a5