Function cairo_lang_sierra::edit_state::put_results
source · pub fn put_results<'a, V>(
state: HashMap<VarId, V>,
results: impl Iterator<Item = (&'a VarId, V)>
) -> Result<HashMap<VarId, V>, EditStateError>
Expand description
Adds the given pairs to map with var ids as keys, failing if some variable is overridden.