about summary refs log tree commit diff
path: root/editors/code/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-03-31 17:40:03 +0000
committerGitHub <noreply@github.com>2020-03-31 17:40:03 +0000
commitf77fc158fc6502cede48c94bbabb040c77b38c08 (patch)
treeea1f7a8597f934693958d64a0914d35c3731c8cb /editors/code/src
parentf9f0a96b7f60a4e3b7ae6cad4f3e1f0e30e2775a (diff)
parent611adc83dae6a2e50ac4c4fde8ef814ca1c56273 (diff)
parent90cc8cc52897293f3c27acbd981d9c751b542f2e (diff)
downloadrust-f77fc158fc6502cede48c94bbabb040c77b38c08.tar.gz
rust-f77fc158fc6502cede48c94bbabb040c77b38c08.zip
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 <veetaha2@gmail.com>
Co-authored-by: Veetaha <veetaha2@gmail.com>