File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,15 @@ where
24
24
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
25
25
impl < T : Eq > Eq for [ T ] { }
26
26
27
- /// Implements comparison of vectors [lexicographically](Ord#lexicographical-comparison).
27
+ /// Implements comparison of slices [lexicographically](Ord#lexicographical-comparison).
28
28
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
29
29
impl < T : Ord > Ord for [ T ] {
30
30
fn cmp ( & self , other : & [ T ] ) -> Ordering {
31
31
SliceOrd :: compare ( self , other)
32
32
}
33
33
}
34
34
35
- /// Implements comparison of vectors [lexicographically](Ord#lexicographical-comparison).
35
+ /// Implements comparison of slices [lexicographically](Ord#lexicographical-comparison).
36
36
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
37
37
impl < T : PartialOrd > PartialOrd for [ T ] {
38
38
fn partial_cmp ( & self , other : & [ T ] ) -> Option < Ordering > {
You can’t perform that action at this time.
0 commit comments