aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/lexer/ok/0001_hello.txt
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-07-30 12:36:50 +0100
committerGitHub <[email protected]>2020-07-30 12:36:50 +0100
commit9042009b7f1ba0f85e892ac5184fa4542d0c10f5 (patch)
treeb56e925c4f822f5479350883c87b952300995fc6 /crates/ra_syntax/test_data/lexer/ok/0001_hello.txt
parentbe803efb7c7ba257716fcc97c57ecfd07e278b07 (diff)
parentfa1e4113224c119258670538f8c3ca6c8ea8ad1e (diff)
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 <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/lexer/ok/0001_hello.txt')
0 files changed, 0 insertions, 0 deletions