diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-03-02 11:33:24 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-03-12 11:31:43 +1100 |
| commit | 198caa87cd870f8fd52bf0bd5fe471cf439c12f0 (patch) | |
| tree | 3429f047229c85a48cc7214e8db9954c02be97a2 /src/doc/tutorial.md | |
| parent | 15e289846219cc3ad8b0225712bf2309f2c02439 (diff) | |
| download | rust-198caa87cd870f8fd52bf0bd5fe471cf439c12f0.tar.gz rust-198caa87cd870f8fd52bf0bd5fe471cf439c12f0.zip | |
Update users for the std::rand -> librand move.
Diffstat (limited to 'src/doc/tutorial.md')
| -rw-r--r-- | src/doc/tutorial.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md index de3f39ef81d..8f37aecfc34 100644 --- a/src/doc/tutorial.md +++ b/src/doc/tutorial.md @@ -2529,7 +2529,7 @@ of type `ABC` can be randomly generated and converted to a string: #[deriving(Eq)] struct Circle { radius: f64 } -#[deriving(Rand, Show)] +#[deriving(Clone, Show)] enum ABC { A, B, C } ~~~ |
