mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
refactor: remove Box in DocumentOperation
This commit is contained in:
parent
800e02d85e
commit
294b1bea13
@ -9,6 +9,12 @@ impl std::ops::Deref for Path {
|
||||
}
|
||||
}
|
||||
|
||||
impl AsRef<Path> 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 {
|
||||
|
Loading…
Reference in New Issue
Block a user