pub fn entry_required<'a>(
entries: &'a [(Expr, Expr)],
name: &str,
context: &str,
) -> Result<&'a Expr>Expand description
Look up a required field in a map’s entry slice, with a context-labeled error
when missing. The slice analog of required and the one home for the
required_field(entries, name) forks. Accepts either key form.