clippy_utils::ast_utils

Function eq_variant

Source
pub fn eq_variant(l: &Variant, r: &Variant) -> bool