FEAT: indexmap!() macros require std

(Due to using the ::with_capacity method.)
This commit is contained in:
bluss
2019-10-12 22:30:40 +02:00
parent 504eb7bedd
commit 4e11f3cfcd
+2
View File
@@ -1,4 +1,5 @@
#[cfg(has_std)]
#[macro_export(local_inner_macros)]
/// Create an `IndexMap` from a list of key-value pairs
///
@@ -37,6 +38,7 @@ macro_rules! indexmap {
};
}
#[cfg(has_std)]
#[macro_export(local_inner_macros)]
/// Create an `IndexSet` from a list of values
///