incubator-groovy git commit: Doc typo in core-semantics.adoc

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

incubator-groovy git commit: Doc typo in core-semantics.adoc

pascalschumacher
Repository: incubator-groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X 8a6a02ffa -> 4c2b43e0a


Doc typo in core-semantics.adoc


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/4c2b43e0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/4c2b43e0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/4c2b43e0

Branch: refs/heads/GROOVY_2_4_X
Commit: 4c2b43e0a5c98e502a2845688ce19b290180ac05
Parents: 8a6a02f
Author: Oliver Gondža <[hidden email]>
Authored: Fri Apr 17 15:44:13 2015 +0200
Committer: pascalschumacher <[hidden email]>
Committed: Fri Apr 17 23:00:02 2015 +0200

----------------------------------------------------------------------
 src/spec/doc/core-semantics.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/4c2b43e0/src/spec/doc/core-semantics.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-semantics.adoc b/src/spec/doc/core-semantics.adoc
index db2a287..b34556d 100644
--- a/src/spec/doc/core-semantics.adoc
+++ b/src/spec/doc/core-semantics.adoc
@@ -13,7 +13,7 @@ Variables can be defined using either their type (like `String`) or by using the
 include::{projectdir}/src/spec/test/SemanticsTest.groovy[tags=variable_definition_example,indent=0]
 ----
 
-`def` is a replacement for a type name. In variable definitions it is used to indicate that you don't care about the type. In variable definitions it is mandatory to either provide a type name explicitly or to use "def" in replacement. This is needed to the make variable definitions detectable for the Groovy parser.
+`def` is a replacement for a type name. In variable definitions it is used to indicate that you don't care about the type. In variable definitions it is mandatory to either provide a type name explicitly or to use "def" in replacement. This is needed to make variable definitions detectable for the Groovy parser.
 
 You can think of `def` as an alias of `Object` and you will understand it in an instant.
 


Loading...