Skip to content

Commit

Permalink
random: Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rmandvikar committed Aug 12, 2023
1 parent 88eb5a0 commit 6ad6fab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/rm.Random2/RandomUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ public static class RandomUtils

/// <summary>
/// Creates a new instance of Random. The seed is derived
/// from a global (static) instance of Random, rather
/// than time.
/// from a RandomNumberGenerator instance.
/// </summary>
public static Random NewRandom()
{
Expand Down
3 changes: 1 addition & 2 deletions src/rm.Random2/ThreadLocalRandom.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ public class ThreadLocalRandom : Random

/// <summary>
/// Creates a new instance of Random. The seed is derived
/// from a global (static) instance of Random, rather
/// than time.
/// from a RandomNumberGenerator instance.
/// </summary>
private static Random NewRandom()
{
Expand Down

0 comments on commit 6ad6fab

Please sign in to comment.