From 02d96ac612bb176a0d3f53742ba969d403616407 Mon Sep 17 00:00:00 2001 From: Corey Richardson Date: Sat, 30 Aug 2014 12:39:52 -0400 Subject: [PATCH] guide: function -> closure in explanation of closures --- src/doc/guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/guide.md b/src/doc/guide.md index 8a634a083e8..c8f4968f772 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -4223,7 +4223,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}