Closed schubart closed 1 year ago
I now found https://docs.rs/tinyvec/latest/tinyvec/trait.Array.html and understood that not all N
are supported, unless you use the rustc_1_55
feature. This fixed the compile error.
I think this deserves a more prominent mention on the documentation front page. I'd imagine that most new users of the crate will be tripped up by this.
Ah, we could document this better.
The traits are only implemented for up to 33 unless the min const generics stuff is used, which is what the rustc_1_55 is mostly turning on.
EDIT: as to "why 33?", well because "that's already one more than you'd ever need!" was the idea. I believe several powers of 2 are also available.
gives
Why does it compile for 33 but not for 34? What's the significance of 33 and 34?
(Rust 1.65.0,
tinyvec
1.6.0.)