From 46072667275b92a808b78ae40fbcc00ab5caaf89 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Tue, 20 Feb 2024 10:16:30 +0800 Subject: [PATCH] apply Clippy suggestions --- markup_fmt/src/printer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/markup_fmt/src/printer.rs b/markup_fmt/src/printer.rs index 53f750a..150c69b 100644 --- a/markup_fmt/src/printer.rs +++ b/markup_fmt/src/printer.rs @@ -65,8 +65,8 @@ impl<'s> DocGen<'s> for AstroExpr<'s> { .append( Doc::line_or_nil() .append(format_children_without_inserting_linebreak( - &nodes, - has_two_more_non_text_children(&nodes), + nodes, + has_two_more_non_text_children(nodes), ctx, )) .nest_with_ctx(ctx),