Function clippy_utils::higher::get_field

source ·
fn get_field<'c>(
    name: &str,
    fields: &'c [ExprField<'_>]
) -> Option<&'c Expr<'c>>
Expand description

Finds the field named name in the field. Always return Some for convenience.