about summary refs log tree commit diff
path: root/src/test/bench/shootout-meteor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/bench/shootout-meteor.rs')
-rw-r--r--src/test/bench/shootout-meteor.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/bench/shootout-meteor.rs b/src/test/bench/shootout-meteor.rs
index a9c4bb99a0e..73dce2910c9 100644
--- a/src/test/bench/shootout-meteor.rs
+++ b/src/test/bench/shootout-meteor.rs
@@ -222,7 +222,7 @@ fn to_vec(raw_sol: &List<u64>) -> Vec<u8> {
     let mut sol = repeat('.' as u8).take(50).collect::<Vec<_>>();
     for &m in raw_sol.iter() {
         let id = '0' as u8 + get_id(m);
-        for i in 0us..50 {
+        for i in 0..50 {
             if m & 1 << i != 0 {
                 sol[i] = id;
             }
@@ -297,7 +297,7 @@ fn search(
     let masks_at = &masks[i];
 
     // for every unused piece
-    for id in (0us..10).filter(|&id| board & (1 << (id + 50)) == 0) {
+    for id in (0..10).filter(|&id| board & (1 << (id + 50)) == 0) {
         // for each mask that fits on the board
         for m in masks_at[id].iter().filter(|&m| board & *m == 0) {
             // This check is too costly.