Ensure equals comparator function never reeaches unreachable code

Closes #1360
This commit is contained in:
Tobie Morgan Hitchcock 2022-10-20 15:54:35 +01:00
parent 0c4994b33b
commit 5b76a25932

View file

@ -1003,7 +1003,7 @@ impl Value {
Value::Strand(_) => v == &other.to_datetime(),
_ => false,
},
_ => unreachable!(),
_ => self == other,
}
}