Update lib.rs

Updated for new nightly