From 145376446216393f3c993b0d167339af44632181 Mon Sep 17 00:00:00 2001 From: Manuel Cillero Date: Mon, 17 Aug 2026 18:26:38 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20(macros):=20Corrige=20warning=20?= =?UTF-8?q?de=20clippy=20en=20expand=5Fentry?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helpers/pagetop-macros/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/pagetop-macros/src/lib.rs b/helpers/pagetop-macros/src/lib.rs index 0fa1fd71..bb9aaa89 100644 --- a/helpers/pagetop-macros/src/lib.rs +++ b/helpers/pagetop-macros/src/lib.rs @@ -476,7 +476,7 @@ pub fn test(_: TokenStream, item: TokenStream) -> TokenStream { // Genera la función síncrona que envuelve el cuerpo asíncrono original, común a `main` y `test`. fn expand_entry(input: ItemFn, is_test: bool) -> TokenStream { if input.sig.asyncness.is_none() { - return syn::Error::new_spanned(&input.sig.fn_token, "the function must be `async`") + return syn::Error::new_spanned(input.sig.fn_token, "the function must be `async`") .to_compile_error() .into(); }