diff --git a/shared-lib/lib-ot/src/core/document/position.rs b/shared-lib/lib-ot/src/core/document/position.rs index 5be8fb4401..54ead9c28a 100644 --- a/shared-lib/lib-ot/src/core/document/position.rs +++ b/shared-lib/lib-ot/src/core/document/position.rs @@ -9,6 +9,12 @@ impl std::ops::Deref for Path { } } +impl AsRef for usize { + fn as_ref(&self) -> &Path { + todo!() + } +} + impl Path { // delta is default to be 1 pub fn transform(pre_insert_path: &Path, b: &Path, offset: i64) -> Path {