rust/library/alloc
Yuki Okushi 0ca5fd7ebc
Rollup merge of #82050 - hbina:fix/added-test-to-drain-empty-vec, r=dtolnay
Added tests to drain an empty vec

Discovered this kind of issue in an unrelated library.
The author copied the tests from here and AFAIK, there are no tests for this particular case.

https://github.com/LeonineKing1199/minivec/pull/19

Signed-off-by: Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>
2021-02-13 16:36:52 +09:00
..
benches
src Rollup merge of #82041 - notriddle:shared-from-slice-docs, r=m-ou-se 2021-02-13 16:36:51 +09:00
tests Added tests to drain an empty vec 2021-02-13 11:18:36 +08:00
Cargo.toml