update

Function update 

Source
pub fn update<T>(this: Ptr<[T]>, i: &DafnyInt, val: T)