Skip to content

Commit

Permalink
Fixed saying $(RPAREN) in std.random documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan committed Apr 18, 2015
1 parent debcd00 commit 76326ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/random.d
Expand Up @@ -20,7 +20,7 @@ Example:
----
// Generate a uniformly-distributed integer in the range [0, 14]
auto i = uniform(0, 15);
// Generate a uniformly-distributed real in the range [0, 100)
// Generate a uniformly-distributed real in the range [0, 100$(RPAREN)
// using a specific random generator
Random gen;
auto r = uniform(0.0L, 100.0L, gen);
Expand Down Expand Up @@ -1221,7 +1221,7 @@ Example:
auto gen = Random(unpredictableSeed);
// Generate an integer in [0, 1023]
auto a = uniform(0, 1024, gen);
// Generate a float in [0, 1)
// Generate a float in [0, 1$(RPAREN)
auto a = uniform(0.0f, 1.0f, gen);
----
*/
Expand Down

0 comments on commit 76326ac

Please sign in to comment.