]> git.lizzy.rs Git - rust.git/commitdiff
Merge #6512
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Mon, 9 Nov 2020 23:41:43 +0000 (23:41 +0000)
committerGitHub <noreply@github.com>
Mon, 9 Nov 2020 23:41:43 +0000 (23:41 +0000)
6512: Don't replace parent node when inserting as first child in algo::diff r=SomeoneToIgnore a=Veykril

This makes the diff a bit more detailed.

See https://github.com/rust-analyzer/rust-analyzer/pull/6287#issuecomment-723889267 for context
cc @SomeoneToIgnore

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
1  2 
crates/syntax/src/algo.rs

Simple merge