Small change to inline literal functions comments.

This commit is contained in:
Sam Zaydel 2014-07-10 09:22:47 -07:00
parent 55e1c2adaf
commit 174f0baa14

View File

@ -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