pub fn is_single_arg_attr(
db: &dyn SyntaxGroup,
attr: &Attribute,
arg_name: &str,
) -> boolExpand description
Checks if the given attribute has a single argument with the given name.
pub fn is_single_arg_attr(
db: &dyn SyntaxGroup,
attr: &Attribute,
arg_name: &str,
) -> boolChecks if the given attribute has a single argument with the given name.