about summary refs log tree commit diff
path: root/src/libcore/array.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-01-02 21:56:13 +0000
committerbors <bors@rust-lang.org>2015-01-02 21:56:13 +0000
commitc89417130f042c58adc60012e7cddc4ef70b70b9 (patch)
tree344f3d621e187b41d23ef01f621ff68ebe810a03 /src/libcore/array.rs
parent4b40bc85cbc1d072179c92ce01655db0272aa598 (diff)
parent340f3fd7a909b30509a63916df06f2b885d113f7 (diff)
downloadrust-c89417130f042c58adc60012e7cddc4ef70b70b9.tar.gz
rust-c89417130f042c58adc60012e7cddc4ef70b70b9.zip
auto merge of #20436 : alexcrichton/rust/rollup, r=alexcrichton
Diffstat (limited to 'src/libcore/array.rs')
-rw-r--r--src/libcore/array.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/array.rs b/src/libcore/array.rs
index 28563a60b61..ba7714ad9bc 100644
--- a/src/libcore/array.rs
+++ b/src/libcore/array.rs
@@ -54,7 +54,7 @@ macro_rules! array_impls {
             #[stable]
             impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; $N] where
                 A: PartialEq<B>,
-                Rhs: Deref<[B]>,
+                Rhs: Deref<Target=[B]>,
             {
                 #[inline(always)]
                 fn eq(&self, other: &Rhs) -> bool { PartialEq::eq(self[], &**other) }
@@ -65,7 +65,7 @@ macro_rules! array_impls {
             #[stable]
             impl<'a, A, B, Lhs> PartialEq<[B; $N]> for Lhs where
                 A: PartialEq<B>,
-                Lhs: Deref<[A]>
+                Lhs: Deref<Target=[A]>
             {
                 #[inline(always)]
                 fn eq(&self, other: &[B; $N]) -> bool { PartialEq::eq(&**self, other[]) }