mirror of
https://github.com/openharmony/third_party_rust_tinyvec.git
synced 2026-07-18 12:25:35 -04:00
af665296b5
* 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