Improve docs
This commit is contained in:
parent
7ee4fd8c72
commit
ddd065dd3a
2 changed files with 6 additions and 0 deletions
|
|
@ -91,6 +91,10 @@ where
|
|||
}
|
||||
}
|
||||
|
||||
/// Merge two `EditedText` instances. The two instances must be derived
|
||||
/// from the same original text. The operations are merged using the
|
||||
/// principles of Operational Transformation. The cursors are updated
|
||||
/// accordingly to reflect the changes made by the merged operations.
|
||||
#[must_use]
|
||||
#[allow(clippy::too_many_lines)]
|
||||
pub fn merge(self, other: Self) -> Self {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue