From 5187e50bb73a378da6b85f705ef06f225518cecd Mon Sep 17 00:00:00 2001 From: Karolin Varner Date: Tue, 4 Feb 2025 18:29:45 +0100 Subject: [PATCH] fix: Accidental removed line of comment 9bae080c4de3809ecbb87035305d5d64993ec403 Co-Authored-By: @phildremi --- constant-time/src/memcmp.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/constant-time/src/memcmp.rs b/constant-time/src/memcmp.rs index 75abba9..1df8709 100644 --- a/constant-time/src/memcmp.rs +++ b/constant-time/src/memcmp.rs @@ -45,6 +45,7 @@ mod tests { /// This test function will run an equal amount of comparisons on two different sets of parameters: /// - completely equal slices /// - completely unequal slices. + /// All comparisons are executed in a randomized order. The test will fail if one of the /// two sets is checked for equality significantly faster than the other set /// (absolute correlation coefficient ≥ 0.01) fn memcmp_runs_in_constant_time() {