From 8b56287d607a7445a33099f852969099d1cfd790 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 4 Oct 2012 20:13:50 -0700 Subject: [PATCH] docs: Fix example --- doc/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tutorial.md b/doc/tutorial.md index dd16e88329f..952fcd30f4c 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -768,7 +768,7 @@ struct TimeBomb { explosivity: uint, drop { - for iter::repeat(explosivity) { + for iter::repeat(self.explosivity) { io::println(fmt!("blam!")); } }