diff --git a/autosurgeon/src/reconcile.rs b/autosurgeon/src/reconcile.rs index f34abf3..007df8b 100644 --- a/autosurgeon/src/reconcile.rs +++ b/autosurgeon/src/reconcile.rs @@ -938,8 +938,8 @@ pub fn reconcile_prop<'a, D: Doc, R: Reconcile, O: AsRef, P: I /// /// This is useful when you specifically want to insert an object which does not implement /// `Reconcile::key` into a sequence -pub fn reconcile_insert( - doc: &mut automerge::AutoCommit, +pub fn reconcile_insert( + doc: &mut D, obj: automerge::ObjId, idx: usize, value: R,