fn handle_optional_argument(name: &Ident, inner_ty: &Type) -> (TokenStream, Expr) {
    (
        TokenStream::from(quote! {
            let #name: Option<#inner_ty> = take_optional(values.get_as(stringify!(#name))?)?;
        }),
        Expr::Verbatim(TokenStream::from(quote! { #name })),
    )
}
// A special case of `handle_argument`, for command callback arguments which are
// optional (i.e., which will have exactly 0 or 1 values). This refers mainly to
// optional flags which can be omitted entirely.
A special case of `handle_argument`, for command callback arguments which are
optional . This refers mainly to
optional flags which can be omitted entirely.
A special case of ` handle_argument ` for command callback arguments which are optional . This refers mainly to optional flags which can be omitted entirely .
fn handle_optional_argument(name: &Ident, inner_ty: &Type) -> (TokenStream, Expr) {
    (
        TokenStream::from(quote! {
            let #name: Option<#inner_ty> = take_optional(values.get_as(stringify!(#name))?)?;
        }),
        Expr::Verbatim(TokenStream::from(quote! { #name })),
    )
}
fn handle_optional_argument ( name : & Ident , inner_ty : & Type ) -> ( TokenStream , Expr ) { ( TokenStream :: from ( quote ! { let name Option inner_ty take_optional ( values get_as ( stringify ( name ) ) ) } ) , Expr :: Verbatim ( TokenStream :: from ( quote ! { name } ) ) , ) }
A special case of `handle_argument`, for command callback arguments which are
optional (i.e., which will have exactly 0 or 1 values).
A special case of ` handle_argument ` for command callback arguments which are optional ( i . e . which will have exactly 0 or 1 values ) .
name
&Ident
inner_ty
&Type
name
&Ident
inner_ty
&Type