ArrayVec
Use a Rust vector with a fixed maximum capacity.
bluss · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
Add arrayvec 0.7.8 to a Rust project. Fit two items in a sample buffer and check that a third is rejected.
What we tested
0.7.8. Fit two items in a sample buffer and check that a third is rejected. The buffer kept 3 and 5 and rejected the third value.