fn create_return(cat: PluralCategory, exp: &TokenStream) -> TokenStream {
    match cat {
        PluralCategory::ZERO => quote! {if #exp { PluralCategory::ZERO } },
        PluralCategory::ONE => quote! {if #exp { PluralCategory::ONE } },
        PluralCategory::TWO => quote! {if #exp { PluralCategory::TWO } },
        PluralCategory::FEW => quote! {if #exp { PluralCategory::FEW } },
        PluralCategory::MANY => quote! {if #exp { PluralCategory::MANY } },
        PluralCategory::OTHER => quote! { { PluralCategory::OTHER } },
    }
}
// Function wraps an expression in a match statement for plural category
Function wraps an expression in a match statement for plural category
Function wraps an expression in a match statement for plural category
fn create_return(cat: PluralCategory, exp: &TokenStream) -> TokenStream {
    match cat {
        PluralCategory::ZERO => quote! {if #exp { PluralCategory::ZERO } },
        PluralCategory::ONE => quote! {if #exp { PluralCategory::ONE } },
        PluralCategory::TWO => quote! {if #exp { PluralCategory::TWO } },
        PluralCategory::FEW => quote! {if #exp { PluralCategory::FEW } },
        PluralCategory::MANY => quote! {if #exp { PluralCategory::MANY } },
        PluralCategory::OTHER => quote! { { PluralCategory::OTHER } },
    }
}
fn create_return ( cat : PluralCategory , exp : & TokenStream ) -> TokenStream { match cat { PluralCategory :: ZERO => quote ! { if exp { PluralCategory ZERO } } , PluralCategory :: ONE => quote ! { if exp { PluralCategory ONE } } , PluralCategory :: TWO => quote ! { if exp { PluralCategory TWO } } , PluralCategory :: FEW => quote ! { if exp { PluralCategory FEW } } , PluralCategory :: MANY => quote ! { if exp { PluralCategory MANY } } , PluralCategory :: OTHER => quote ! { { PluralCategory OTHER } } , } }
Function wraps an expression in a match statement for plural category
Function wraps an expression in a match statement for plural category
cat
PluralCategory
exp
&TokenStream
cat
PluralCategory
exp
&TokenStream