We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edf95ef commit 8637c09Copy full SHA for 8637c09
src/lib/deque.rs
@@ -30,8 +30,10 @@ fn create[T]() -> t[T] {
30
fn grow[T](uint nelts, uint lo, vec[cell[T]] elts) -> vec[cell[T]] {
31
assert (nelts == vec::len[cell[T]](elts));
32
33
+ // FIXME: Making the vector argument an alias is a workaround for
34
+ // issue #375
35
fn fill[T](uint i, uint nelts, uint lo,
- vec[cell[T]] old) -> cell[T] {
36
+ &vec[cell[T]] old) -> cell[T] {
37
ret if (i < nelts) {
38
old.((lo + i) % nelts)
39
} else {
0 commit comments