We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ffb7eb commit 8c1dd28Copy full SHA for 8c1dd28
src/macros.rs
@@ -78,6 +78,9 @@ macro_rules! match_ignore_ascii_case {
78
/// }
79
#[macro_export]
80
macro_rules! ascii_case_insensitive_phf_map {
81
+ ($name: ident -> $ValueType: ty = { $( $key: expr => $value: expr ),* }) => {
82
+ ascii_case_insensitive_phf_map!($name -> $ValueType = { $( $key => $value, )* })
83
+ };
84
($name: ident -> $ValueType: ty = { $( $key: expr => $value: expr, )* }) => {
85
fn $name(input: &str) -> Option<&'static $ValueType> {
86
cssparser_internal__invoke_proc_macro! {
0 commit comments