From 7231194e7688c1502c5ce8e8813883a204f234fc Mon Sep 17 00:00:00 2001 From: Emil Cicos Date: Thu, 13 Feb 2025 10:32:54 -0800 Subject: [PATCH] Generalize the type of the `doc` argument of `reconcile_insert` --- autosurgeon/src/reconcile.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,