dprint_core::configuration

Function get_nullable_vec

source
pub fn get_nullable_vec<T: FromStr>(
    config: &mut ConfigKeyMap,
    key: &str,
    get_nullable_value: impl Fn(ConfigKeyValue, usize, &mut Vec<ConfigurationDiagnostic>) -> Option<T>,
    diagnostics: &mut Vec<ConfigurationDiagnostic>,
) -> Option<Vec<T>>