diff --git a/Cargo.toml b/Cargo.toml index ae270ef..389913c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cfg_aliases" -version = "0.2.1" +version = "0.2.2" license = "MIT" authors = ["Zicklag "] edition = "2018" diff --git a/src/lib.rs b/src/lib.rs index 380f31e..1bdce9a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -265,7 +265,7 @@ macro_rules! cfg_aliases { {$($current)+} ] [ $($rest)* - ]); + ]) }; // This rule comes next. It fires when the next un-parsed token is *not* a @@ -284,7 +284,7 @@ macro_rules! cfg_aliases { )* ] [ $($rest)* - ] $($current)* $tok); + ] $($current)* $tok) }; // This rule fires when there are no more tokens to parse in this list. We @@ -302,7 +302,7 @@ macro_rules! cfg_aliases { {$($grouped)+} )* {$($current)+} - ); + ) };