Permalink
Browse files

fix Lenght/Length typo

  • Loading branch information...
1 parent 18256a7 commit e8f1724a18d4ac1d6b68df6fd1cbff1f4f0eccc2 @shalakhin shalakhin committed May 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ex-basics/src/string2.go
@@ -7,6 +7,6 @@ import (
func main() {
str := "dsjkdshdjsdh....js"
- fmt.Printf("String %s\nLenght: %d, Runes: %d\n", str,
+ fmt.Printf("String %s\nLength: %d, Runes: %d\n", str,
len([]byte(str)), utf8.RuneCount([]byte(str)))
}

0 comments on commit e8f1724

Please sign in to comment.