diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-02-02 02:53:26 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-02-02 02:59:03 +1100 |
| commit | e0c1707560d02bb5805b33cb17e8abfc339eb16b (patch) | |
| tree | 0344bf214d412e28c8c886c9ba8c483fb5fe9392 /src/libsyntax | |
| parent | f502576fc7a97825ee90b01c724b63a4bd4c85aa (diff) | |
| download | rust-e0c1707560d02bb5805b33cb17e8abfc339eb16b.tar.gz rust-e0c1707560d02bb5805b33cb17e8abfc339eb16b.zip | |
Changes from the review of the @str PR.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/parse/token.rs | 7 |
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 { |
