mirror of
https://github.com/openharmony/third_party_rust_tinyvec.git
synced 2026-07-13 20:22:00 -04:00
59a2b4c903
* Implement `[value; N]` syntax for `array_vec!` Also implement the `($array_type:ty)` form by just calling `default()` immediately, which makes more sense. * Add tests for `[value; N]` macro form * Implement `[value; N]` syntax for `tiny_vec!` Also make the same improvement to the `($array_type:ty)` macro variant that I did for `array_vec!`. * Add tests for `[value; N]` macro form