fn build_identifier(
    maybe_name: Option<String>,
    original_function: &ItemFn,
) -> Result<String, Error> {
    if let Some(name) = maybe_name {
        Ok(name)
    } else {
        let original_identifier = &original_function.sig.ident;
        negate_identifier(original_identifier)
    }
}
/// If the user supplied a name for the generated function, this function will return it.
/// If the user didn't, then we'll attempt to generate a name for the generated function
If the user supplied a name for the generated function, this function will return it.
If the user didn't, then we'll attempt to generate a name for the generated function
If the user supplied a name for the generated function this function will return it . If the user didn ' t then we ' ll attempt to generate a name for the generated function
fn build_identifier(
    maybe_name: Option<String>,
    original_function: &ItemFn,
) -> Result<String, Error> {
    if let Some(name) = maybe_name {
        Ok(name)
    } else {
        let original_identifier = &original_function.sig.ident;
        negate_identifier(original_identifier)
    }
}
fn build_identifier ( maybe_name : Option < String > , original_function : & ItemFn , ) -> Result < String , Error > { if let Some ( name ) = maybe_name { Ok ( name ) } else { let original_identifier = & original_function . sig . ident ; negate_identifier ( original_identifier ) } }
If the user supplied a name for the generated function, this function will return it.
If the user supplied a name for the generated function this function will return it .
maybe_name
Option<String>
original_function
&ItemFn