# Function clippy_config::metadata::parse_config_field_doc

source ·

    fn parse_config_field_doc(doc_comment: &str) -> Option<(Vec<String>, String)>

Expand description

This parses the field documentation of the config struct.

ⓘ

    parse_config_field_doc(cx, "Lint: LINT_NAME_1, LINT_NAME_2. Papa penguin, papa penguin")

Would yield:

ⓘ

    Some(["lint_name_1", "lint_name_2"], "Papa penguin, papa penguin")