Permalink
Browse files

Merge pull request #96 from skrul/fix-rand-comment

Fix comment on rand example.
  • Loading branch information...
2 parents d3c2824 + 7252078 commit de909341381d563361dbeb80735a025f543906d0 @mmcgrana committed Feb 25, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/random-numbers/random-numbers.go
View
2 examples/random-numbers/random-numbers.go
@@ -30,7 +30,7 @@ func main() {
s1 := rand.NewSource(42)
r1 := rand.New(s1)
- // Call the resulting `rand.Source` just like the
+ // Call the resulting `rand.Rand` just like the
// functions on the `rand` package.
fmt.Print(r1.Intn(100), ",")
fmt.Print(r1.Intn(100))

0 comments on commit de90934

Please sign in to comment.