Skip to content

Commit 77bff8f

Browse files
committed
Apply Slippy suggestions
1 parent 4a16327 commit 77bff8f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

crates/charon/src/eth2wrap/valcache.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,7 @@ mod tests {
270270
#[tokio::test]
271271
async fn get_by_head_successful_fetch() {
272272
// Create a set of validators with different statuses (some active, some not)
273-
let pubkeys = (0..10)
274-
.map(|i| test_pubkey(i as u8))
275-
.collect::<Vec<PubKey>>();
273+
let pubkeys = (0..10u8).map(test_pubkey).collect::<Vec<PubKey>>();
276274
let datums = [
277275
test_validator_datum(0, &pubkeys[0], ValidatorStatus::PendingInitialized), /* not active */
278276
test_validator_datum(1, &pubkeys[1], ValidatorStatus::PendingQueued), /* not active */

0 commit comments

Comments
 (0)