fn scalars_mutated_in_block(block: &il::Block) -> HashSet<&il::Scalar> {
    block
        .instructions()
        .iter()
        .flat_map(|inst| inst.scalars_written().unwrap_or_default())
        .collect()
}
/// Get the set of scalars which are mutated in the given block.
Get the set of scalars which are mutated in the given block.
Get the set of scalars which are mutated in the given block .
fn scalars_mutated_in_block(block: &il::Block) -> HashSet<&il::Scalar> {
    block
        .instructions()
        .iter()
        .flat_map(|inst| inst.scalars_written().unwrap_or_default())
        .collect()
}
fn scalars_mutated_in_block ( block : & il :: Block ) -> HashSet < & il :: Scalar > { block . instructions ( ) . iter ( ) . flat_map ( | inst | inst . scalars_written ( ) . unwrap_or_default ( ) ) . collect ( ) }
Get the set of scalars which are mutated in the given block.
Get the set of scalars which are mutated in the given block .
block
&il::Block
block
&il::Block