Understanding and Implementing Next Permutation in Rust

Introduction