diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-31 18:40:03 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-31 18:40:03 +0100 |
commit | f77fc158fc6502cede48c94bbabb040c77b38c08 (patch) | |
tree | ea1f7a8597f934693958d64a0914d35c3731c8cb /crates/ra_hir/Cargo.toml | |
parent | f9f0a96b7f60a4e3b7ae6cad4f3e1f0e30e2775a (diff) | |
parent | 611adc83dae6a2e50ac4c4fde8ef814ca1c56273 (diff) | |
parent | 90cc8cc52897293f3c27acbd981d9c751b542f2e (diff) |
Merge #3780 #3787
3780: Simplify r=matklad a=Veetaha
I absolutely love tha fact that removing `.clone()` simplifies the code comparing to other languages where it's actually the contrary (ahem ~~`std::move()`~~)
3787: vscode: add syntax tree inspection hovers and highlights r=matklad a=Veetaha
![inspect-tree](https://user-images.githubusercontent.com/36276403/78029767-c7426900-7369-11ea-9ed6-b8a0f8e05bac.gif)
I implemented the reverse mapping (when you hover in the rust editor), but it seems overcomplicated, so I removed it
Related #3682
Co-authored-by: veetaha <[email protected]>
Co-authored-by: Veetaha <[email protected]>