From 8818e0140d370985025f97c151a9d7c2dab4f17a Mon Sep 17 00:00:00 2001 From: jnyfah Date: Wed, 18 Jun 2025 02:57:53 +0100 Subject: [PATCH] undo --- crates/ide/src/inlay_hints/adjustment.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ide/src/inlay_hints/adjustment.rs b/crates/ide/src/inlay_hints/adjustment.rs index f5960c1256..7965e1f223 100644 --- a/crates/ide/src/inlay_hints/adjustment.rs +++ b/crates/ide/src/inlay_hints/adjustment.rs @@ -218,7 +218,7 @@ pub(super) fn hints( } if !postfix && needs_inner_parens { - (&mut pre.label).append_str("("); + pre.label.append_str("("); } if needs_outer_parens || (!postfix && needs_inner_parens) { post.label.append_str(")");