]> git.lizzy.rs Git - rust.git/commit
Append new match arms rather than replacing all of them
authorMatthew Hall <matthew@quickbeam.me.uk>
Sat, 28 Mar 2020 20:44:12 +0000 (20:44 +0000)
committerMatthew Hall <matthew@quickbeam.me.uk>
Sat, 28 Mar 2020 20:58:46 +0000 (20:58 +0000)
commitecc2615ba2da0e083a8dbfbf203d1fd7fe0bcaaf
treee35cea1b482c65b98e1025da47e9670df61e92ed
parent1c2d4135db867efe335a0654d86429bea7bb9caf
Append new match arms rather than replacing all of them

This means we now retain comments when filling in match arms.
crates/ra_assists/src/handlers/fill_match_arms.rs
crates/ra_syntax/src/ast/edit.rs