From 305168530d7daf5dad0ec352d47833a762af051c Mon Sep 17 00:00:00 2001 From: Mauro Werder Date: Mon, 1 Feb 2016 21:24:08 +0100 Subject: [PATCH] Fixed whitespace and two typos --- doc/manual/variables-and-scoping.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/manual/variables-and-scoping.rst b/doc/manual/variables-and-scoping.rst index eca03975cc711..1579f83346c1c 100644 --- a/doc/manual/variables-and-scoping.rst +++ b/doc/manual/variables-and-scoping.rst @@ -94,7 +94,7 @@ changed within their global scope and not from an outside module. :: # through a qualified access import A # makes module A available d = A.a - # A.a = 2 # would error with: "ERROR: type Module has no field a" + # A.a = 2 # would error with: "ERROR: cannot assign variables in other modules" end Note that the interactive prompt (aka REPL) is in the global scope of @@ -373,7 +373,7 @@ following example:: 2 See also the closures in the examples in the next two sections. - + .. _man-let-blocks: Let Blocks @@ -485,7 +485,7 @@ iteration variables:: x = 0 [ x for x=1:3 ] - X # here still equal to 0 + x # here still equal to 0 Constants ---------