mirror of
https://github.com/openharmony/third_party_rust_rust-smallvec.git
synced 2026-07-22 10:35:33 -04:00
1925ea092696681a67ca9fe93fd60d06efd3d3e8
Add into_inner Converts a SmallVec into an array, provided the SmallVec has not been spilled to the heap. Addresses #85. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-smallvec/115) <!-- Reviewable:end -->
Import from https://github.com/servo/rust-selectors/blob/e8dd4cfe4d6a40363ca5df468b29121fe25a7956/src/smallvec.rs
rust-smallvec
"Small vector" optimization for Rust: store up to a small number of items on the stack
Description
Languages
Rust
98.8%
Shell
1.2%