diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-07-28 16:20:10 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-07-28 20:33:06 +0530 |
| commit | 80c998d0f1dfdde2ce5596bed4095675c5fe0f58 (patch) | |
| tree | 6e726ce8cb2e0d80f4bd02d8b8fd1e9b6e27f526 /src/rustllvm/RustWrapper.cpp | |
| parent | 1895bf760d4f7d11510619fd7ee794aa5afc4803 (diff) | |
| parent | d1e2a935d2d35e768d0a56af7938c725f243fc28 (diff) | |
| download | rust-80c998d0f1dfdde2ce5596bed4095675c5fe0f58.tar.gz rust-80c998d0f1dfdde2ce5596bed4095675c5fe0f58.zip | |
Rollup merge of #34951 - tomgarcia:covariant-vec, r=brson
Make vec::Drain and binary_heap::Drain covariant I removed all mutable pointers/references, and added covariance tests similar to the ones in #32635. It builds and passes the tests, but I noticed that there weren't any tests of Drain's behaviour (at least not in libcollectionstest), so I'm not sure if my changes accidently broke Drain's behaviour. Should I add some tests for that (and if so, what should the tests include)?
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
