Skip to content

Commit

Permalink
remove bad comment of srand
Browse files Browse the repository at this point in the history
  • Loading branch information
cuonglm committed Sep 17, 2017
1 parent 9073a4d commit 9eeb357
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/Num.pm
Expand Up @@ -491,7 +491,6 @@ sub rand(--> Num:D) {
nqp::p6box_n(nqp::rand_n(1e0));
}

# TODO: default seed of 'time'
sub srand(Int $seed --> Int:D) {
nqp::p6box_i(nqp::srand($seed))
}
Expand Down

0 comments on commit 9eeb357

Please sign in to comment.