* Closes https://github.com/Lokathor/tinyvec/issues/75

* This is a breaking change to the macro

* benchmarks fixes.

* slim down to just `take`
This commit is contained in:
Lokathor
2020-07-03 10:56:45 -06:00
committed by GitHub
parent fb92d14ab4
commit 5bb7c7585b
10 changed files with 322 additions and 306 deletions
+1 -2
View File
@@ -1,5 +1,4 @@
#![cfg(feature = "alloc")]
#![allow(bad_style)]
#![allow(clippy::redundant_clone)]
@@ -98,5 +97,5 @@ fn TinyVec_from_array() {
fn TinyVec_macro_non_copy() {
// must use a variable here to avoid macro shenanigans
let s = String::new();
let _: TinyVec<[String; 10]> = tiny_vec!([String; 10], s);
let _: TinyVec<[String; 10]> = tiny_vec!([String; 10] => s);
}