update for latest version of rust (main)