Fix the next typo in mlist-cycle.rs; still doesn't work.
This commit is contained in:
parent
1d1a7985a8
commit
2eba370aa2
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ type list = tag(link(@cell), nil());
|
||||||
fn main() {
|
fn main() {
|
||||||
let @cell first = tup(@nil());
|
let @cell first = tup(@nil());
|
||||||
let @cell second = tup(@link(first));
|
let @cell second = tup(@link(first));
|
||||||
first._0 = link(second);
|
first._0 = @link(second);
|
||||||
std.sys.rustrt.gc();
|
std.sys.rustrt.gc();
|
||||||
let @cell third = tup(@nil());
|
let @cell third = tup(@nil());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue