Merge pull request #269 from Azureki/master

添加extern crate rand;
This commit is contained in:
KaiserY 2018-12-03 21:02:13 +08:00 committed by GitHub
commit e1780485f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -349,6 +349,8 @@ rand = "0.4.0"
<span class="filename">文件名: src/main.rs</span>
```rust,ignore
extern crate rand;
use std::io;
use rand::Rng;