mirror of https://github.com/helix-editor/helix
fix: Compose where changes.compose(empty_other)
parent
d4d16ca1b0
commit
bfb6cff5a9
|
@ -132,6 +132,9 @@ impl ChangeSet {
|
||||||
if self.changes.is_empty() {
|
if self.changes.is_empty() {
|
||||||
return other;
|
return other;
|
||||||
}
|
}
|
||||||
|
if other.changes.is_empty() {
|
||||||
|
return self;
|
||||||
|
}
|
||||||
|
|
||||||
let len = self.changes.len();
|
let len = self.changes.len();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue