File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed
branches/snap-stage3/src/libstd Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: eee7accedb4b529dac67b2a50c4e25e3f47777d8
4
+ refs/heads/snap-stage3: 052f28a8083c624a8f0a892893f9a059906e15c5
5
5
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ use iter::FromIter;
23
23
use kinds:: Copy ;
24
24
use libc;
25
25
use num:: Zero ;
26
+ use ops:: Add ;
26
27
use option:: { None , Option , Some } ;
27
28
use ptr:: to_unsafe_ptr;
28
29
use ptr;
@@ -40,6 +41,7 @@ use util;
40
41
41
42
#[ cfg( not( test) ) ] use cmp:: Equiv ;
42
43
44
+ #[ doc( hidden) ]
43
45
pub mod rustrt {
44
46
use libc;
45
47
use vec:: raw;
@@ -1180,16 +1182,10 @@ impl<T:Ord> Ord for @[T] {
1180
1182
}
1181
1183
1182
1184
#[ cfg( not( test) ) ]
1183
- pub mod traits {
1184
- use kinds:: Copy ;
1185
- use ops:: Add ;
1186
- use vec:: append;
1187
-
1188
- impl < ' self , T : Copy > Add < & ' self [ T ] , ~[ T ] > for ~[ T ] {
1189
- #[ inline]
1190
- fn add ( & self , rhs : & & ' self [ T ] ) -> ~[ T ] {
1191
- append ( copy * self , ( * rhs) )
1192
- }
1185
+ impl < ' self , T : Copy > Add < & ' self [ T ] , ~[ T ] > for ~[ T ] {
1186
+ #[ inline]
1187
+ fn add ( & self , rhs : & & ' self [ T ] ) -> ~[ T ] {
1188
+ append ( copy * self , ( * rhs) )
1193
1189
}
1194
1190
}
1195
1191
You can’t perform that action at this time.
0 commit comments