]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #106540 - lowr:patch/remove-paren-whitespace, r=cjgillot
authorMatthias Krüger <matthias.krueger@famsik.de>
Sun, 29 Jan 2023 19:03:35 +0000 (20:03 +0100)
committerGitHub <noreply@github.com>
Sun, 29 Jan 2023 19:03:35 +0000 (20:03 +0100)
commit869160215113c17cdcc419b8ed8ae24be927058c
tree935e882bb3d4c892960e0fc6e298c6fe188e5d20
parent309fb1923f0b55b057565472fce3971ed8eb4378
parent807ebac887a535b047da349297bdd8d14e31f794
Rollup merge of #106540 - lowr:patch/remove-paren-whitespace, r=cjgillot

Insert whitespace to avoid ident concatenation in suggestion

This PR tweaks the suggestion of removing misplaced parentheses around trait bounds so as to avoid concatenating two identifiers. Although subtle, this should make outputs less surprising especially when applying the `MachineApplicable` suggestions automatically.