Skip to content

Commit

Permalink
fixup! Rust 1.85: Use async closure syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Dec 14, 2024
1 parent c324551 commit 2861a78
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test-renderers/tests/wgpu-render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ async fn main() -> test_renderers::HarnessResult {
RendererId::Wgpu,
test_renderers::SuiteId::Renderers,
test_renderers::test_cases::all_tests,
// TODO: Change this to
// async move |label| { ... },
// when <https://github.com/rust-lang/rust/issues/129811> is fixed.
move |label| async move { get_factory(label).await.unwrap() },
async move |label| get_factory(label).await.unwrap(),
parallelism,
)
.await
Expand Down

0 comments on commit 2861a78

Please sign in to comment.