commit
c95c7c87b1
1 changed files with 0 additions and 2 deletions
|
@ -180,10 +180,8 @@ impl<A> DVec<A> {
|
||||||
data <-> self.data;
|
data <-> self.data;
|
||||||
let data_ptr: *() = cast::reinterpret_cast(&data);
|
let data_ptr: *() = cast::reinterpret_cast(&data);
|
||||||
if data_ptr.is_null() { fail ~"Recursive use of dvec"; }
|
if data_ptr.is_null() { fail ~"Recursive use of dvec"; }
|
||||||
log(error, ~"a");
|
|
||||||
self.data = move ~[move t];
|
self.data = move ~[move t];
|
||||||
self.data.push_all_move(move data);
|
self.data.push_all_move(move data);
|
||||||
log(error, ~"b");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue