Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

s/i/index/ in the for loop

  • Loading branch information...
commit 761c820a750afb77a24487e8f3419bf913de9590 1 parent f1d9fca
Tim Heaney oylenshpeegul authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  functions.rst
2  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)
Please sign in to comment.
Something went wrong with that request. Please try again.