From 43a286c25118c95a36b1156c31dde173f489449a Mon Sep 17 00:00:00 2001 From: r00ster91 <35064754+r00ster91@users.noreply.github.com> Date: Sat, 31 Mar 2018 15:35:08 +0200 Subject: [PATCH] Fix Random example (#5728) --- src/random.cr | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/random.cr b/src/random.cr index 8cf8f53e0ebb..6a9989821d11 100644 --- a/src/random.cr +++ b/src/random.cr @@ -4,9 +4,8 @@ require "random/pcg32" # `Random` provides an interface for random values generation, using a pseudo random number generator (PRNG). # # ``` -# Random.new_seed # => 112705036 -# Random.rand # => 0.167595 -# Random.rand(5) # => 2 +# Random.rand # => 0.167595 +# Random.rand(5) # => 2 # ``` # # The above methods delegate to a `Random` instance.