diff options
author | Ville Penttinen <[email protected]> | 2019-02-21 15:51:41 +0000 |
---|---|---|
committer | Ville Penttinen <[email protected]> | 2019-02-21 15:55:14 +0000 |
commit | 40add5de9a717cb784dde3310ace8d61edd2dde4 (patch) | |
tree | f4e6fc99f8ee9ec2576d41942aa3fd114e32feea /crates/ra_hir/src/path.rs | |
parent | 5cacdfcb3c666161dc41f59228eaaca5cfe8fc27 (diff) |
Fix join_lines not adding a comma after join_single_expr_block in match arm
We will also remove optional whitespace between the expression and the comma.
e.g.
```rust
fn foo() {
let x = (<|>{
4
} ,); // NOTE: whitespace
}
```
becomes
```rust
fn foo() {
let x = (<|>4,);
}
```
Diffstat (limited to 'crates/ra_hir/src/path.rs')
0 files changed, 0 insertions, 0 deletions