From e4dbbcd032a7fdb2321cf9d01aaea7c996600d95 Mon Sep 17 00:00:00 2001 From: JohnnyMorganz Date: Sat, 30 Sep 2023 18:19:20 +0200 Subject: [PATCH] Fix clippy warning --- full-moon/src/ast/parser_util.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/full-moon/src/ast/parser_util.rs b/full-moon/src/ast/parser_util.rs index 2fc62367..46b57a39 100644 --- a/full-moon/src/ast/parser_util.rs +++ b/full-moon/src/ast/parser_util.rs @@ -109,6 +109,7 @@ macro_rules! define_parser { ) -> Result<(ParserState<'a>, $node), InternalAstError> { #[cfg(feature = "stacker")] if true { + #[allow(clippy::redundant_closure_call)] return stacker::maybe_grow(32 * 1024, 1024 * 1024, || $body(self, state)); }