Update code in README according to rust-nightly