Rust 2021 Macro Warning Cleanup (#3658)
* small warning cleanup * remove unused imports in tests
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@
|
||||
#[macro_export]
|
||||
macro_rules! map_vec {
|
||||
($thing:expr, $mapfn:expr) => {
|
||||
$thing.iter().map($mapfn).collect::<Vec<_>>();
|
||||
$thing.iter().map($mapfn).collect::<Vec<_>>()
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user