File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,15 @@ where
2424#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2525impl < T : Eq > Eq for [ T ] { }
2626
27- /// Implements comparison of vectors [lexicographically](Ord#lexicographical-comparison).
27+ /// Implements comparison of slices [lexicographically](Ord#lexicographical-comparison).
2828#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2929impl < T : Ord > Ord for [ T ] {
3030 fn cmp ( & self , other : & [ T ] ) -> Ordering {
3131 SliceOrd :: compare ( self , other)
3232 }
3333}
3434
35- /// Implements comparison of vectors [lexicographically](Ord#lexicographical-comparison).
35+ /// Implements comparison of slices [lexicographically](Ord#lexicographical-comparison).
3636#[ stable( feature = "rust1" , since = "1.0.0" ) ]
3737impl < T : PartialOrd > PartialOrd for [ T ] {
3838 fn partial_cmp ( & self , other : & [ T ] ) -> Option < Ordering > {
You can’t perform that action at this time.
0 commit comments