Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/inlay_hints/adjustment.rs')
-rw-r--r--crates/ide/src/inlay_hints/adjustment.rs2
1 files changed, 1 insertions, 1 deletions
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(")");