fix: Compose where changes.compose(empty_other)

pull/906/head
Blaž Hrastnik 2021-10-25 11:01:21 +09:00
parent d4d16ca1b0
commit bfb6cff5a9
1 changed files with 3 additions and 0 deletions

View File

@ -132,6 +132,9 @@ impl ChangeSet {
if self.changes.is_empty() {
return other;
}
if other.changes.is_empty() {
return self;
}
let len = self.changes.len();