From 16e4f02b8356e1dd158bb7b2370dc3f26e464395 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Tue, 7 May 2019 17:28:04 +0300 Subject: [PATCH] Don't escape async in macro --- tower-web-macros/src/resource/resource.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tower-web-macros/src/resource/resource.rs b/tower-web-macros/src/resource/resource.rs index a135dac..403b0e0 100644 --- a/tower-web-macros/src/resource/resource.rs +++ b/tower-web-macros/src/resource/resource.rs @@ -789,7 +789,7 @@ impl Resource { quote! { macro_rules! async_move_hax { ($e:expr) => { - r#async move { $e } + async move { $e } } } }