diff options
author | Sam Zaydel <szaydel@gmail.com> | 2014-07-10 09:22:47 -0700 |
---|---|---|
committer | Sam Zaydel <szaydel@gmail.com> | 2014-07-10 09:22:47 -0700 |
commit | 174f0baa14421834e181f37bd969d7f015a02adc (patch) | |
tree | 2f3df26ec7c3a2e0081e02367dc524523303f0fc | |
parent | 55e1c2adafcf0f2590633064aaf83af5ff1964af (diff) |
Small change to inline literal functions comments.
-rw-r--r-- | go.html.markdown | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/go.html.markdown b/go.html.markdown index e496117e..a5ea5859 100644 --- a/go.html.markdown +++ b/go.html.markdown @@ -195,7 +195,8 @@ func learnFlowControl() { fmt.Println("Add + double two numbers: ", func(a, b int) int { return (a + b) * 2 - }(10, 2)) // Called with args (10, 2) + }(10, 2)) // Called with args 10 and 2 + // Add + double two numbers: 24 // When you need it, you'll love it. goto love |