@@ -26,33 +26,33 @@ macro_rules! array_impls {
2626 ( $( $N: expr) +) => {
2727 $(
2828 #[ stable]
29- impl <T : Copy > Clone for [ T , .. $N] {
30- fn clone( & self ) -> [ T , .. $N] {
29+ impl <T : Copy > Clone for [ T ; $N] {
30+ fn clone( & self ) -> [ T ; $N] {
3131 * self
3232 }
3333 }
3434
3535 #[ unstable = "waiting for Show to stabilize" ]
36- impl <T : fmt:: Show > fmt:: Show for [ T , .. $N] {
36+ impl <T : fmt:: Show > fmt:: Show for [ T ; $N] {
3737 fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
3838 fmt:: Show :: fmt( & self [ ] , f)
3939 }
4040 }
4141
4242 #[ stable]
43- impl <A , B > PartialEq <[ B , .. $N] > for [ A , .. $N] where A : PartialEq <B > {
43+ impl <A , B > PartialEq <[ B ; $N] > for [ A ; $N] where A : PartialEq <B > {
4444 #[ inline]
45- fn eq( & self , other: & [ B , .. $N] ) -> bool {
45+ fn eq( & self , other: & [ B ; $N] ) -> bool {
4646 self [ ] == other[ ]
4747 }
4848 #[ inline]
49- fn ne( & self , other: & [ B , .. $N] ) -> bool {
49+ fn ne( & self , other: & [ B ; $N] ) -> bool {
5050 self [ ] != other[ ]
5151 }
5252 }
5353
5454 #[ stable]
55- impl <' a, A , B , Rhs > PartialEq <Rhs > for [ A , .. $N] where
55+ impl <' a, A , B , Rhs > PartialEq <Rhs > for [ A ; $N] where
5656 A : PartialEq <B >,
5757 Rhs : Deref <[ B ] >,
5858 {
@@ -63,47 +63,47 @@ macro_rules! array_impls {
6363 }
6464
6565 #[ stable]
66- impl <' a, A , B , Lhs > PartialEq <[ B , .. $N] > for Lhs where
66+ impl <' a, A , B , Lhs > PartialEq <[ B ; $N] > for Lhs where
6767 A : PartialEq <B >,
6868 Lhs : Deref <[ A ] >
6969 {
7070 #[ inline( always) ]
71- fn eq( & self , other: & [ B , .. $N] ) -> bool { PartialEq :: eq( & * * self , other[ ] ) }
71+ fn eq( & self , other: & [ B ; $N] ) -> bool { PartialEq :: eq( & * * self , other[ ] ) }
7272 #[ inline( always) ]
73- fn ne( & self , other: & [ B , .. $N] ) -> bool { PartialEq :: ne( & * * self , other[ ] ) }
73+ fn ne( & self , other: & [ B ; $N] ) -> bool { PartialEq :: ne( & * * self , other[ ] ) }
7474 }
7575
7676 #[ stable]
77- impl <T : Eq > Eq for [ T , .. $N] { }
77+ impl <T : Eq > Eq for [ T ; $N] { }
7878
7979 #[ stable]
80- impl <T : PartialOrd > PartialOrd for [ T , .. $N] {
80+ impl <T : PartialOrd > PartialOrd for [ T ; $N] {
8181 #[ inline]
82- fn partial_cmp( & self , other: & [ T , .. $N] ) -> Option <Ordering > {
82+ fn partial_cmp( & self , other: & [ T ; $N] ) -> Option <Ordering > {
8383 PartialOrd :: partial_cmp( & self [ ] , & other[ ] )
8484 }
8585 #[ inline]
86- fn lt( & self , other: & [ T , .. $N] ) -> bool {
86+ fn lt( & self , other: & [ T ; $N] ) -> bool {
8787 PartialOrd :: lt( & self [ ] , & other[ ] )
8888 }
8989 #[ inline]
90- fn le( & self , other: & [ T , .. $N] ) -> bool {
90+ fn le( & self , other: & [ T ; $N] ) -> bool {
9191 PartialOrd :: le( & self [ ] , & other[ ] )
9292 }
9393 #[ inline]
94- fn ge( & self , other: & [ T , .. $N] ) -> bool {
94+ fn ge( & self , other: & [ T ; $N] ) -> bool {
9595 PartialOrd :: ge( & self [ ] , & other[ ] )
9696 }
9797 #[ inline]
98- fn gt( & self , other: & [ T , .. $N] ) -> bool {
98+ fn gt( & self , other: & [ T ; $N] ) -> bool {
9999 PartialOrd :: gt( & self [ ] , & other[ ] )
100100 }
101101 }
102102
103103 #[ stable]
104- impl <T : Ord > Ord for [ T , .. $N] {
104+ impl <T : Ord > Ord for [ T ; $N] {
105105 #[ inline]
106- fn cmp( & self , other: & [ T , .. $N] ) -> Ordering {
106+ fn cmp( & self , other: & [ T ; $N] ) -> Ordering {
107107 Ord :: cmp( & self [ ] , & other[ ] )
108108 }
109109 }
0 commit comments