From e454a47bf2272abfad9987a7be876f0563391e3d Mon Sep 17 00:00:00 2001
From: Tim Chevalier <chevalier@alum.wellesley.edu>
Date: Sat, 24 Nov 2012 09:28:34 -0800
Subject: [PATCH] [tutorial] Use a less confusing closure example

Closes #3996
---
 doc/tutorial.md | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/doc/tutorial.md b/doc/tutorial.md
index 097af5a80a1..23961235d1a 100644
--- a/doc/tutorial.md
+++ b/doc/tutorial.md
@@ -1540,8 +1540,7 @@ them. In the rare case where the compiler needs assistance, though, the
 arguments and return types may be annotated.
 
 ~~~~
-# type mygoodness = fn(~str) -> ~str; type what_the = int;
-let bloop = |well, oh: mygoodness| -> what_the { fail oh(well) };
+let square = |x: int| -> uint { x * x as uint };
 ~~~~
 
 There are several forms of closure, each with its own role. The most