groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject groovy git commit: Documentation: style-guide: escaped -> so it does not appear as → (closes #212)
Date Sat, 12 Dec 2015 09:49:48 GMT
Repository: groovy
Updated Branches:
  refs/heads/master 7f72540d4 -> 5f241f6f5


Documentation: style-guide: escaped -> so it does not appear as → (closes #212)


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

Branch: refs/heads/master
Commit: 5f241f6f59d3aea4cc9c0aca264278878bc6c3a5
Parents: 7f72540
Author: Andrew Reitz <andrew.reitz@smartthings.com>
Authored: Fri Dec 11 21:56:43 2015 -0600
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Sat Dec 12 10:48:38 2015 +0100

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/5f241f6f/src/spec/doc/style-guide.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/style-guide.adoc b/src/spec/doc/style-guide.adoc
index 72462e3..d7eb9c5 100644
--- a/src/spec/doc/style-guide.adoc
+++ b/src/spec/doc/style-guide.adoc
@@ -391,7 +391,7 @@ For simple variables, or `variable.property`, you can even drop the curly
braces
 throw new Exception("Unable to convert resource: $resource")
 ----
 
-You can even lazily evaluate those expressions using a closure notation with `${-> resource
}`.
+You can even lazily evaluate those expressions using a closure notation with `${\-> resource
}`.
 When the GString will be coerced to a String, it'll evaluate the closure and get the `toString()`
representation of the return value.
 
 Example:


Mime
View raw message