mirror of
https://github.com/openharmony/third_party_rust_tinyvec.git
synced 2026-07-21 01:35:22 -04:00
3919d5e804
* change behavior on extend_from_slice, append * preallocation in extend() * append v2 * obviously * fix resize_with * try_functions and to_vec on arrayvec * shrink_to_fit * bit of cleaning * cosmetic changes * use asserts instead of if-panics * I promise, this is the last commit * examples, tests * matches macro exists since rust 1.42 * Update tinyvec.rs * new extend and insert * mem::take is from rust 1.40