File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: f061560ce44eccf322b7dbf41f36340c6ec1debd
2
+ refs/heads/master: 3bcd9734190858050e544d103d7bd44f138ad949
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ pure fn len<T>(&&v: &[const T]) -> uint {
185
185
* Creates an immutable vector of size `n_elts` and initializes the elements
186
186
* to the value returned by the function `op`.
187
187
*/
188
- pure fn from_fn < T : copy > ( n_elts : uint , op : init_op < T > ) -> ~[ T ] {
188
+ pure fn from_fn < T > ( n_elts : uint , op : init_op < T > ) -> ~[ T ] {
189
189
let mut v = ~[ ] ;
190
190
unchecked { reserve( v, n_elts) ; }
191
191
let mut i: uint = 0 u;
@@ -532,7 +532,7 @@ unsafe fn ref<T: copy>(v: &[const T], i: uint) -> T {
532
532
}
533
533
534
534
#[ inline( always) ]
535
- unsafe fn ref_set < T : copy > ( v : & [ mut T ] , i : uint , +val : T ) {
535
+ unsafe fn ref_set < T > ( v : & [ mut T ] , i : uint , +val : T ) {
536
536
let mut box = some ( val) ;
537
537
do as_mut_buf( v) |p, _len| {
538
538
let mut box2 = none;
You can’t perform that action at this time.
0 commit comments