about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-08-30 23:49:01 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-08-30 23:49:01 -0700
commit33029c5ddd255725f9ae701dec0a571256f8856c (patch)
treecd4965b004dcd308af1dd4fa2a37f2fb2328610a
parent56a029f145e4ef276133400d1443e3c20a385155 (diff)
parent02d96ac612bb176a0d3f53742ba969d403616407 (diff)
downloadrust-33029c5ddd255725f9ae701dec0a571256f8856c.tar.gz
rust-33029c5ddd255725f9ae701dec0a571256f8856c.zip
rollup merge of #16881 : cmr/guide-typo
-rw-r--r--src/doc/guide.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/guide.md b/src/doc/guide.md
index d22c68ee3e7..feba76dbf84 100644
--- a/src/doc/guide.md
+++ b/src/doc/guide.md
@@ -4228,7 +4228,7 @@ don't need to declare one. This is different from named functions, which
 default to returning unit (`()`).
 
 There's one big difference between a closure and named functions, and it's in
-the name: a function "closes over its environment." What's that mean? It means
+the name: a closure "closes over its environment." What's that mean? It means
 this:
 
 ```{rust}