Skip to main content

note_subscript_set

Function note_subscript_set 

Source
pub fn note_subscript_set(name: &str, old_len: usize, i: usize)
Expand description

Record that a subscript assignment set index i, padding the dense Vec from old_len up to i. Indices old_len..i become holes; i itself is a real element (removed from the hole set).