change loop order
authorJacob Lifshay <programmerjake@gmail.com>
Tue, 26 May 2020 03:27:41 +0000 (20:27 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Tue, 26 May 2020 03:27:41 +0000 (20:27 -0700)
src/main.rs

index 220991a5bc90eceba7cd0ca71b37b960d0ab0108..5cdde9e0030f0d9c49d68b3cac42349d555d2b75 100644 (file)
@@ -163,9 +163,9 @@ const TEST_VALUES: &[u64] = &[
 ];
 
 fn main() {
-    for &dividend in TEST_VALUES {
-        for &divisor in TEST_VALUES {
-            for &(f, name) in TestDivInput::FUNCTIONS {
+    for &(f, name) in TestDivInput::FUNCTIONS {
+        for &dividend in TEST_VALUES {
+            for &divisor in TEST_VALUES {
                 let inputs = TestDivInput {
                     dividend,
                     divisor,