rustup update code example
Example 1: Ubuntu install rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Example 2: rustup update
rustup update
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup update