From d267e77907cda2c90dad7e141efac666f0b167a7 Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Tue, 24 Jul 2012 09:42:58 -0700 Subject: [PATCH] Typos in tutorial --- doc/tutorial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/tutorial.md b/doc/tutorial.md index 4f03ee3cc80a..fbb1ca416e4c 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -1541,7 +1541,7 @@ if favorite_crayon_name.len() > 5 { # Closures Named functions, like those we've seen so far, may not refer to local -variables decalared outside the function - they do not "close over +variables declared outside the function - they do not "close over their environment". For example you couldn't write the following: ~~~~ {.ignore} @@ -1898,7 +1898,7 @@ gets access to them. ## Safe references -*This system has recently changed. An explanantion is forthcoming.* +*This system has recently changed. An explanation is forthcoming.* ## Other uses of safe references