summaryrefslogtreecommitdiffstats
path: root/challenge
diff options
context:
space:
mode:
Diffstat (limited to 'challenge')
-rw-r--r--challenge/c21.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/challenge/c21.go b/challenge/c21.go
index 7dc734d..e725cd3 100644
--- a/challenge/c21.go
+++ b/challenge/c21.go
@@ -10,8 +10,9 @@ import (
)
func C21() {
+ mt := new(lib.MTRand)
for {
- fmt.Printf("%v\n", lib.MTExtract())
+ fmt.Printf("%v\n", mt.Extract())
}
}