@@ -22,7 +22,7 @@ pub enum Assoc {
24// ChangeSpec = Change | ChangeSet | Vec<Change>
24// ChangeSpec = Change | ChangeSet | Vec<Change>
25−#[derive(Debug, Clone, PartialEq, Eq)]
25+#[derive(Debug, Default, Clone, PartialEq, Eq)]
26pub struct ChangeSet {
26pub struct ChangeSet {
27 pub(crate) changes: Vec<Operation>,
27 pub(crate) changes: Vec<Operation>,
28 /// The required document length. Will refuse to apply changes unless it matches.
28 /// The required document length. Will refuse to apply changes unless it matches.
@@ -30,16 +30,6 @@ pub struct ChangeSet {
30 len_after: usize,
30 len_after: usize,
33−impl Default for ChangeSet {
34− fn default() -> Self {
43impl ChangeSet {
33impl ChangeSet {
44 pub fn with_capacity(capacity: usize) -> Self {
34 pub fn with_capacity(capacity: usize) -> Self {