From 6ad6fab9ad3ec93974ff8530a789e97a667be0d0 Mon Sep 17 00:00:00 2001 From: hippy Date: Sat, 12 Aug 2023 01:16:12 -0700 Subject: [PATCH] random: Fix comment --- src/rm.Random2/RandomUtils.cs | 3 +-- src/rm.Random2/ThreadLocalRandom.cs | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/rm.Random2/RandomUtils.cs b/src/rm.Random2/RandomUtils.cs index 95299e0..ba497b7 100644 --- a/src/rm.Random2/RandomUtils.cs +++ b/src/rm.Random2/RandomUtils.cs @@ -16,8 +16,7 @@ public static class RandomUtils /// /// Creates a new instance of Random. The seed is derived - /// from a global (static) instance of Random, rather - /// than time. + /// from a RandomNumberGenerator instance. /// public static Random NewRandom() { diff --git a/src/rm.Random2/ThreadLocalRandom.cs b/src/rm.Random2/ThreadLocalRandom.cs index f4f0140..36dc268 100644 --- a/src/rm.Random2/ThreadLocalRandom.cs +++ b/src/rm.Random2/ThreadLocalRandom.cs @@ -18,8 +18,7 @@ public class ThreadLocalRandom : Random /// /// Creates a new instance of Random. The seed is derived - /// from a global (static) instance of Random, rather - /// than time. + /// from a RandomNumberGenerator instance. /// private static Random NewRandom() {