diff options
author | HampusM <hampus@hampusmat.com> | 2023-08-01 17:30:40 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-08-01 17:30:40 +0200 |
commit | 925c1f8cb2253b443211e5a562d6ac9467be51a6 (patch) | |
tree | 83a78b961e68506864328f6dbddd515be0c5cda2 /macros/src/util | |
parent | 6400a3b818eac49b35cd6e73a7c4df6540285bf6 (diff) |
test: remove vec macro usages in IteratorExt unit tests
Diffstat (limited to 'macros/src/util')
-rw-r--r-- | macros/src/util/iterator_ext.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/src/util/iterator_ext.rs b/macros/src/util/iterator_ext.rs index 17482ae..c4af0f2 100644 --- a/macros/src/util/iterator_ext.rs +++ b/macros/src/util/iterator_ext.rs @@ -55,7 +55,7 @@ mod tests } assert_eq!( - vec![ + [ Fruit { name: "Apple".to_string(), }, @@ -82,7 +82,7 @@ mod tests ); assert_eq!( - vec![ + [ Fruit { name: "Banana".to_string(), }, |