aboutsummaryrefslogtreecommitdiff
path: root/crates/assists/src/handlers/remove_mut.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-11-20 16:30:04 +0000
committerGitHub <[email protected]>2020-11-20 16:30:04 +0000
commit48bb4bf22895edd3658658f088499b0dd60df371 (patch)
tree696c39c005c76f9e718782d7c18152a84ca6f4dc /crates/assists/src/handlers/remove_mut.rs
parent66db0d3cadd4fefd70543aba8eae57e8db99935a (diff)
parent5d39f6a357a519226165af5614f381054f3c33ea (diff)
Merge #6595
6595: Don't wrap parens around expr in remove_dbg assist if its in conditions r=Veykril a=Veykril If the expr in the `dbg!` macro consists of multiple elements it won't remove the parentheses if its in a `match` or condition-using construct, as these are followed by siblings causing the `is_leaf` check to fail. Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/assists/src/handlers/remove_mut.rs')
0 files changed, 0 insertions, 0 deletions