mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2025-02-23 21:02:18 +08:00
Fix rand's version: 0.5.6 -> 0.8.4
This commit is contained in:
parent
a578d1d727
commit
efcc26fab2
@ -336,7 +336,7 @@ $ cargo update
|
|||||||
Updating rand v0.8.3 -> v0.8.4
|
Updating rand v0.8.3 -> v0.8.4
|
||||||
```
|
```
|
||||||
|
|
||||||
这时,你也会注意到的 *Cargo.lock* 文件中的变化无外乎现在使用的 `rand` crate 版本是`0.5.6`
|
这时,你也会注意到的 *Cargo.lock* 文件中的变化无外乎现在使用的 `rand` crate 版本是`0.8.4`
|
||||||
|
|
||||||
如果想要使用 `0.9.0` 版本的 `rand` 或是任何 `0.9.x` 系列的版本,必须像这样更新 *Cargo.toml* 文件:
|
如果想要使用 `0.9.0` 版本的 `rand` 或是任何 `0.9.x` 系列的版本,必须像这样更新 *Cargo.toml* 文件:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user