mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-29 02:52:11 +00:00
undo
This commit is contained in:
parent
e417ae2b71
commit
8818e0140d
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ pub(super) fn hints(
|
||||||
}
|
}
|
||||||
|
|
||||||
if !postfix && needs_inner_parens {
|
if !postfix && needs_inner_parens {
|
||||||
(&mut pre.label).append_str("(");
|
pre.label.append_str("(");
|
||||||
}
|
}
|
||||||
if needs_outer_parens || (!postfix && needs_inner_parens) {
|
if needs_outer_parens || (!postfix && needs_inner_parens) {
|
||||||
post.label.append_str(")");
|
post.label.append_str(")");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue