Update Rust example code for Rust 0.8.