about summary refs log tree commit diff
path: root/src/libstd/unstable
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2014-01-14 16:33:08 -0500
committerDaniel Micay <danielmicay@gmail.com>2014-01-14 22:01:44 -0500
commit77758f0b5e4ea672f3a5671902011e879ed6dac5 (patch)
tree85825fb0f5f7f725779343c3939db57a25d72866 /src/libstd/unstable
parent6809b172e0dee6f197e4ae30af0d8162e92d5225 (diff)
downloadrust-77758f0b5e4ea672f3a5671902011e879ed6dac5.tar.gz
rust-77758f0b5e4ea672f3a5671902011e879ed6dac5.zip
add implementation of `Repr` for `~[T]`
Diffstat (limited to 'src/libstd/unstable')
-rw-r--r--src/libstd/unstable/raw.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/unstable/raw.rs b/src/libstd/unstable/raw.rs
index 64a9a7c672a..8aee26c24b2 100644
--- a/src/libstd/unstable/raw.rs
+++ b/src/libstd/unstable/raw.rs
@@ -57,6 +57,7 @@ impl<'a, T> Repr<Slice<T>> for &'a [T] {}
 impl<'a> Repr<Slice<u8>> for &'a str {}
 impl<T> Repr<*Box<T>> for @T {}
 impl<T> Repr<*Box<Vec<T>>> for @[T] {}
+impl<T> Repr<*Vec<T>> for ~[T] {}
 impl Repr<*String> for ~str {}
 impl Repr<*Box<String>> for @str {}