mynote/rust/rust.md
2022-06-05 10:19:11 +08:00

25 lines
249 B
Markdown

# Rust
#### install
```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup update
```
## expand
```bash
# just for mac
rustup toolchain install nightly-x86_64-apple-darwin
cargo +nightly install cargo-expand
```