about summary refs log tree commit diff
path: root/src/doc/tutorial.md
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-03-02 11:33:24 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2014-03-12 11:31:43 +1100
commit198caa87cd870f8fd52bf0bd5fe471cf439c12f0 (patch)
tree3429f047229c85a48cc7214e8db9954c02be97a2 /src/doc/tutorial.md
parent15e289846219cc3ad8b0225712bf2309f2c02439 (diff)
downloadrust-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.md2
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 }
 ~~~