Permalink
Browse files

s/i/index/ in the for loop

  • Loading branch information...
1 parent f1d9fca commit 761c820a750afb77a24487e8f3419bf913de9590 @oylenshpeegul oylenshpeegul committed with Apr 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 functions.rst
View
@@ -234,7 +234,7 @@ A function with a result variable
}
func main() {
- for index := -2.0; index <= 10; i++ {
+ for index := -2.0; index <= 10; index++ {
squareroot, possible := MySqrt(index)
if possible {
fmt.Printf("The square root of %f is %f\n", index, squareroot)

0 comments on commit 761c820

Please sign in to comment.