update to Rust master

- `Vec::{remove,swap_remove}` now return `T` instead of `Option<T>`
- `Vec::from_fn` was deprecated