mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-25 16:58:28 +00:00
Update Rust Edition to 2024 (#7766)
* #7749 Thanks @dknopik and @michaelsproul for your help!
This commit is contained in:
@@ -167,17 +167,13 @@ impl<T: Case> Cases<T> {
|
||||
self.test_cases
|
||||
.into_par_iter()
|
||||
.enumerate()
|
||||
.map(|(i, (ref path, ref tc))| {
|
||||
CaseResult::new(i, path, tc, tc.result(i, fork_name))
|
||||
})
|
||||
.map(|(i, (path, tc))| CaseResult::new(i, path, tc, tc.result(i, fork_name)))
|
||||
.collect()
|
||||
} else {
|
||||
self.test_cases
|
||||
.iter()
|
||||
.enumerate()
|
||||
.map(|(i, (ref path, ref tc))| {
|
||||
CaseResult::new(i, path, tc, tc.result(i, fork_name))
|
||||
})
|
||||
.map(|(i, (path, tc))| CaseResult::new(i, path, tc, tc.result(i, fork_name)))
|
||||
.collect()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user