Fixes compilation errors caused by the removal of std::rt::heap.
Due to RFC 1214 this then spits out many warnings. Initially these were simple to fix (you just need to be more explicit with your trait bounds) but in order to fix all the warnings you need to implement Copy for Matrix which you obviously can't do since it implements Drop. For that reason I didn't fix any of the warnings, only the errors.
For reference:
Fixes compilation errors caused by the removal of
std::rt::heap
.Due to RFC 1214 this then spits out many warnings. Initially these were simple to fix (you just need to be more explicit with your trait bounds) but in order to fix all the warnings you need to implement
Copy
forMatrix
which you obviously can't do since it implementsDrop
. For that reason I didn't fix any of the warnings, only the errors.