To delete cargo and rust-clang

i want to completely delete rust on my computer(linux)
but it cant delete.and remain.
please explain and say reinstall

Please be cautious with rm -rf and check your typing.

rm -rf ~/.cargo ~/.rustup

You can also use rustup self uninstall to uninstall rustup and all rustup managed rust toolchains.