creusot icon indicating copy to clipboard operation
creusot copied to clipboard

Add specification for iter_mut

Open xldenis opened this issue 1 year ago • 0 comments

Adds a specification for [T]::iter_mut and the associated IterMut type.

One quirk is that where in RustHornBelt we modeled mutable iterators a sa sequence of borrows, I used a borrow of sequences here. They're equivalent of course but it corresponds to the specs I proved in preparation for RustVerify'22 (in 02_iter_mut.rs).

cc @jhjourdan

xldenis avatar Aug 02 '22 20:08 xldenis