how to uninstall rust

Shell
curl https://sh.rustup.rs -sSf | shrustup self uninstall
Source

Also in Shell: