rust/crates/ide
bors 77b359ae31 Auto merge of #15532 - SomeoneToIgnore:more-brackets-on-type-formatting, r=Veykril
On type format '(', by adding closing ')' automatically

If I understand right, `()` can surround pretty much the same `{}` can, so add another on type formatting pair for convenience: sometimes it's not that pleasant to write parenthesis in `Some(2).map(|i| (i, i+1))` cases and I would prefer r-a to do that for me.

One note: currently, b06503b6ec/crates/rust-analyzer/src/handlers/request.rs (L357) fires always.
Should we remove the assertion entirely now, since apparently things work in release despite that check?
2023-09-06 20:32:04 +00:00
..
src Auto merge of #15532 - SomeoneToIgnore:more-brackets-on-type-formatting, r=Veykril 2023-09-06 20:32:04 +00:00
Cargo.toml Depend on nohash-hasher individually 2023-05-06 00:49:23 -07:00