You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that i should not be incremented if a value is removed from the array, as that'll cause values to be skipped and perhaps out of bounds access (say if the last element is removed, i will be incremented and one past the end of the array will be accessed)
Activity
[-]Drain filter pseudo code incorrect[/-][+][docs] Drain filter pseudo code incorrect[/+]Gankra commentedon Sep 12, 2017
Easy patch to start contributing with :)
Rollup merge of rust-lang#44534 - adlerd:drain_filter_doctest, r=bluss
Rollup merge of rust-lang#44534 - adlerd:drain_filter_doctest, r=bluss