tinyvec 1.13.2

`tinyvec` provides 100% safe vec-like data structures.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Regression test for the `tiny_vec!` macro's heap arm expanding cleanly
//! in a downstream `#![no_std]` crate, where there is no `std` prelude
//! `vec!` to mask a macro-hygiene resolution bug.
#![no_std]

use tinyvec::{tiny_vec, TinyVec};

#[allow(dead_code)]
fn expands_to_heap() -> TinyVec<[u8; 1]> {
  tiny_vec!([u8; 1] => 1, 2)
}