document_metrics

Function get_match_pair

source
pub(crate) fn get_match_pair(arm: Arm) -> Option<(Ident, String)>
Expand description

Returns the variant name and string value of a match arm in format Type::Variant => "value".