wrap "$CARGO_HOME" into a code block, keeping the format consistent with previous text

pull/1564/head
gz-gary 2 months ago
parent 2324875337
commit 05d3fd1811

@ -25,7 +25,7 @@ export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_pr
### 修改 Rust 的下载镜像为国内的镜像地址
这个效果最直接,一劳永逸,但是就是配置起来略微麻烦。
为了使用 `crates.io` 之外的注册服务,我们需要对 `$HOME/.cargo/config.toml` ($CARGO_HOME 下) 文件进行配置,添加新的服务提供商,有两种方式可以实现:增加新的镜像地址和覆盖默认的镜像地址。
为了使用 `crates.io` 之外的注册服务,我们需要对 `$HOME/.cargo/config.toml` (`$CARGO_HOME` 下) 文件进行配置,添加新的服务提供商,有两种方式可以实现:增加新的镜像地址和覆盖默认的镜像地址。
### 新增镜像地址

Loading…
Cancel
Save