rust-analyzer/crates/ra_hir_def
bors[bot] fd06fe7b13
Merge #3925
3925: Implement assist "Reorder field names" r=matklad a=geoffreycopin

This PR implements the "Reorder record fields" assist as discussed in issue #3821 .

Adding a `RecordFieldPat` variant to the `Pat` enum seemed like the easiest way to handle the `RecordPat` children as a single sequence of elements, maybe there is a better way ?

Co-authored-by: Geoffrey Copin <copin.geoffrey@gmail.com>
2020-04-11 18:40:46 +00:00
..
src Merge #3925 2020-04-11 18:40:46 +00:00
Cargo.toml Nice string formatting 2020-03-28 12:27:54 +01:00