Skip to content

Commit b3c85d5

Browse files
committed
---
yaml --- r: 20615 b: refs/heads/snap-stage3 c: 3bcd973 h: refs/heads/master i: 20613: 0ff82b3 20611: c5dfa6a 20607: 01f8e56 v: v3
1 parent 4783c03 commit b3c85d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: e430a699f2c60890d9b86069fd0c68a70ece7120
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: f061560ce44eccf322b7dbf41f36340c6ec1debd
4+
refs/heads/snap-stage3: 3bcd9734190858050e544d103d7bd44f138ad949
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libcore/vec.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ pure fn len<T>(&&v: &[const T]) -> uint {
185185
* Creates an immutable vector of size `n_elts` and initializes the elements
186186
* to the value returned by the function `op`.
187187
*/
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] {
189189
let mut v = ~[];
190190
unchecked{reserve(v, n_elts);}
191191
let mut i: uint = 0u;
@@ -532,7 +532,7 @@ unsafe fn ref<T: copy>(v: &[const T], i: uint) -> T {
532532
}
533533

534534
#[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) {
536536
let mut box = some(val);
537537
do as_mut_buf(v) |p, _len| {
538538
let mut box2 = none;

0 commit comments

Comments
 (0)