hldh214 4年前

修改理由:

fix typo

相关信息:


此投稿已在 4年前 合并。

内容修改:

红色背景 为原始内容

绿色背景 为新增或者修改的内容

OldNewDifferences
1 ## 在现有的 Carog 项目上工作
 1## 在现有的 Cargo 项目上工作
 2
 3如果您下载使用 Cargo 的现有项目,那么它很容易上手.
 4
 5首先,从某个地方获取项目.在这个例子中,我们将使用`rand`项目,其从 GitHub 上的存储库克隆而来:
 6
 7```shell
 8$ git clone https://github.com/rust-lang-nursery/rand.git
 9$ cd rand
 10```
 11
 12要建立,使用`cargo build`:
 13
 14```shell
 15$ cargo build
 16  Compiling rand v0.1.0 (file:///path/to/project/rand)
 17```
 18
 19这将获取所有依赖项,然后与项目一起构建它们.
220
3 如果您下载使用 Cargo 的现有项目,那么它很容易上手. 
4  
5 首先,从某个地方获取项目.在这个例子中,我们将使用`rand`项目,其从 GitHub 上的存储库克隆而来: 
6  
7 ```shell 
8 $ git clone https://github.com/rust-lang-nursery/rand.git 
9 $ cd rand 
10 ``` 
11  
12 要建立,使用`cargo build`: 
13  
14 ```shell 
15 $ cargo build 
16   Compiling rand v0.1.0 (file:///path/to/project/rand) 
17 ``` 
18  
19 这将获取所有依赖项,然后与项目一起构建它们. 
20