From 46f2d4d0caee06b4ae111a8ce779c366304f76f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Rica=20Pais=20da=20Silva?= Date: Wed, 21 Feb 2024 10:22:13 +0100 Subject: [PATCH] chore: Cleanup reference to cloning `ThreadLocalEntropy` --- src/thread_local_entropy.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/thread_local_entropy.rs b/src/thread_local_entropy.rs index 8e9271d..6898a26 100644 --- a/src/thread_local_entropy.rs +++ b/src/thread_local_entropy.rs @@ -91,7 +91,8 @@ mod tests { rng1.fill_bytes(&mut bytes1); rng2.fill_bytes(&mut bytes2); - // Cloned ThreadLocalEntropy instances won't output the same entropy + // ThreadLocalEntropy instances won't output the same entropy as the + // underlying thread local source gets mutated each access. assert_ne!(&bytes1, &bytes2); }