update uninit example so that it still works in current Rust