From 2861a78129b4f28265b930c1fff3db619af7af6a Mon Sep 17 00:00:00 2001 From: Kevin Reid Date: Sat, 14 Dec 2024 09:12:27 -0800 Subject: [PATCH] fixup! Rust 1.85: Use async closure syntax. --- test-renderers/tests/wgpu-render.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test-renderers/tests/wgpu-render.rs b/test-renderers/tests/wgpu-render.rs index ba9206cb6..9443c1738 100644 --- a/test-renderers/tests/wgpu-render.rs +++ b/test-renderers/tests/wgpu-render.rs @@ -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 is fixed. - move |label| async move { get_factory(label).await.unwrap() }, + async move |label| get_factory(label).await.unwrap(), parallelism, ) .await