@@ -772,42 +772,42 @@ macro_rules! lazy_static_include_array_inner {
772772
773773#[ macro_export]
774774macro_rules! lazy_static_include_array {
775- ( $name: ident: [ & ' static str ; $s: expr] , $path: expr ) => {
775+ ( $name: ident: [ & ' static str ; $s: expr] , $path: expr $ ( , ) * ) => {
776776 lazy_static! {
777777 static ref $name: [ & ' static str ; $s] = lazy_static_include_array_inner!( $name: [ & ' static str ; $s] , $path) ;
778778 }
779779 } ;
780- ( $name: ident: [ & ' static str ; $s: expr] , $path: expr, $( $paths: expr) , + ) => {
780+ ( $name: ident: [ & ' static str ; $s: expr] , $path: expr, $( $paths: expr) , + $ ( , ) * ) => {
781781 lazy_static! {
782782 static ref $name: Vec <[ & ' static str ; $s] > = lazy_static_include_array_inner!( $name: [ & ' static str ; $s] , $path $( , $paths) +) ;
783783 }
784784 } ;
785- ( pub $name: ident: [ & ' static str ; $s: expr] , $path: expr ) => {
785+ ( pub $name: ident: [ & ' static str ; $s: expr] , $path: expr $ ( , ) * ) => {
786786 lazy_static! {
787787 pub static ref $name: [ & ' static str ; $s] = lazy_static_include_array_inner!( $name: [ & ' static str ; $s] , $path) ;
788788 }
789789 } ;
790- ( pub $name: ident: [ & ' static str ; $s: expr] , $path: expr, $( $paths: expr) , + ) => {
790+ ( pub $name: ident: [ & ' static str ; $s: expr] , $path: expr, $( $paths: expr) , + $ ( , ) * ) => {
791791 lazy_static! {
792792 pub static ref $name: Vec <[ & ' static str ; $s] > = lazy_static_include_array_inner!( $name: [ & ' static str ; $s] , $path $( , $paths) +) ;
793793 }
794794 } ;
795- ( $name: ident: [ $t: ident; $s: expr] , $path: expr ) => {
795+ ( $name: ident: [ $t: ident; $s: expr] , $path: expr $ ( , ) * ) => {
796796 lazy_static! {
797797 static ref $name: [ $t; $s] = lazy_static_include_array_inner!( $name: [ $t; $s] , $path) ;
798798 }
799799 } ;
800- ( $name: ident: [ $t: ident; $s: expr] , $path: expr, $( $paths: expr) , + ) => {
800+ ( $name: ident: [ $t: ident; $s: expr] , $path: expr, $( $paths: expr) , + $ ( , ) * ) => {
801801 lazy_static! {
802802 static ref $name: Vec <[ $t; $s] > = lazy_static_include_array_inner!( $name: [ $t; $s] , $path $( , $paths) +) ;
803803 }
804804 } ;
805- ( pub $name: ident: [ $t: ident; $s: expr] , $path: expr ) => {
805+ ( pub $name: ident: [ $t: ident; $s: expr] , $path: expr $ ( , ) * ) => {
806806 lazy_static! {
807807 pub static ref $name: [ $t; $s] = lazy_static_include_array_inner!( $name: [ $t; $s] , $path) ;
808808 }
809809 } ;
810- ( pub $name: ident: [ $t: ident; $s: expr] , $path: expr, $( $paths: expr) , + ) => {
810+ ( pub $name: ident: [ $t: ident; $s: expr] , $path: expr, $( $paths: expr) , + $ ( , ) * ) => {
811811 lazy_static! {
812812 pub static ref $name: Vec <[ $t; $s] > = lazy_static_include_array_inner!( $name: [ $t; $s] , $path $( , $paths) +) ;
813813 }
@@ -816,22 +816,22 @@ macro_rules! lazy_static_include_array {
816816
817817#[ macro_export]
818818macro_rules! lazy_static_include_array_vec {
819- ( $name: ident: [ & ' static str ; $s: expr] $( , $paths: expr) + ) => {
819+ ( $name: ident: [ & ' static str ; $s: expr] $( , $paths: expr) + $ ( , ) * ) => {
820820 lazy_static! {
821821 static ref $name: Vec <[ & ' static str ; $s] > = lazy_static_include_array_inner!( $name: [ & ' static str ; $s] , Vec $( , $paths) +) ;
822822 }
823823 } ;
824- ( pub $name: ident: [ & ' static str ; $s: expr] , $( $paths: expr) , + ) => {
824+ ( pub $name: ident: [ & ' static str ; $s: expr] , $( $paths: expr) , + $ ( , ) * ) => {
825825 lazy_static! {
826826 pub static ref $name: Vec <[ & ' static str ; $s] > = lazy_static_include_array_inner!( $name: [ & ' static str ; $s] , Vec $( , $paths) +) ;
827827 }
828828 } ;
829- ( $name: ident: [ $t: ident; $s: expr] , $( $paths: expr) , + ) => {
829+ ( $name: ident: [ $t: ident; $s: expr] , $( $paths: expr) , + $ ( , ) * ) => {
830830 lazy_static! {
831831 static ref $name: Vec <[ $t; $s] > = lazy_static_include_array_inner!( $name: [ $t; $s] , Vec $( , $paths) +) ;
832832 }
833833 } ;
834- ( pub $name: ident: [ $t: ident; $s: expr] , $( $paths: expr) , + ) => {
834+ ( pub $name: ident: [ $t: ident; $s: expr] , $( $paths: expr) , + $ ( , ) * ) => {
835835 lazy_static! {
836836 pub static ref $name: Vec <[ $t; $s] > = lazy_static_include_array_inner!( $name: [ $t; $s] , Vec $( , $paths) +) ;
837837 }
0 commit comments