mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
commit
c95c7c87b1
@ -180,10 +180,8 @@ impl<A> DVec<A> {
|
||||
data <-> self.data;
|
||||
let data_ptr: *() = cast::reinterpret_cast(&data);
|
||||
if data_ptr.is_null() { fail ~"Recursive use of dvec"; }
|
||||
log(error, ~"a");
|
||||
self.data = move ~[move t];
|
||||
self.data.push_all_move(move data);
|
||||
log(error, ~"b");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user