diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-30 11:36:50 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-30 11:36:50 +0000 |
| commit | 9042009b7f1ba0f85e892ac5184fa4542d0c10f5 (patch) | |
| tree | b56e925c4f822f5479350883c87b952300995fc6 /docs/dev/debugging.md | |
| parent | be803efb7c7ba257716fcc97c57ecfd07e278b07 (diff) | |
| parent | fa1e4113224c119258670538f8c3ca6c8ea8ad1e (diff) | |
| download | rust-9042009b7f1ba0f85e892ac5184fa4542d0c10f5.tar.gz rust-9042009b7f1ba0f85e892ac5184fa4542d0c10f5.zip | |
Merge #5567
5567: SSR: Wrap placeholder expansions in parenthesis when necessary r=matklad a=davidlattimore e.g. `foo($a) ==> $a.to_string()` should produce `(1 + 2).to_string()` not `1 + 2.to_string()` We don't yet try to determine if the whole replacement needs to be wrapped in parenthesis. That's harder and I think perhaps less often an issue. Co-authored-by: David Lattimore <dml@google.com>
Diffstat (limited to 'docs/dev/debugging.md')
0 files changed, 0 insertions, 0 deletions
