about summary refs log tree commit diff
path: root/src/libextra
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-12-30 17:49:00 -0800
committerPatrick Walton <pcwalton@mimiga.net>2014-01-03 14:02:00 -0800
commitb6e516859adc2eb0638a50677f73691f50ea9aca (patch)
tree516a83ddc9ecadc3ad16b5caaaf7cd33b7080f2f /src/libextra
parente095889e4edaa37ad78faa6394d0ac1d3650d64d (diff)
downloadrust-b6e516859adc2eb0638a50677f73691f50ea9aca.tar.gz
rust-b6e516859adc2eb0638a50677f73691f50ea9aca.zip
libstd: Remove all support code related to `@mut`
Diffstat (limited to 'src/libextra')
-rw-r--r--src/libextra/serialize.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/libextra/serialize.rs b/src/libextra/serialize.rs
index 6b298d877da..e7ccb91fb75 100644
--- a/src/libextra/serialize.rs
+++ b/src/libextra/serialize.rs
@@ -426,18 +426,6 @@ impl<D:Decoder,T:Decodable<D> + 'static> Decodable<D> for @T {
     }
 }
 
-impl<S:Encoder,T:Encodable<S>> Encodable<S> for @mut T {
-    fn encode(&self, s: &mut S) {
-        (**self).encode(s)
-    }
-}
-
-impl<D:Decoder,T:Decodable<D> + 'static> Decodable<D> for @mut T {
-    fn decode(d: &mut D) -> @mut T {
-        @mut Decodable::decode(d)
-    }
-}
-
 impl<'a, S:Encoder,T:Encodable<S>> Encodable<S> for &'a [T] {
     fn encode(&self, s: &mut S) {
         s.emit_seq(self.len(), |s| {