diff --git a/crates/text_edit/src/lib.rs b/crates/text_edit/src/lib.rs index eb3c8caa2a7..685039c4bec 100644 --- a/crates/text_edit/src/lib.rs +++ b/crates/text_edit/src/lib.rs @@ -17,6 +17,7 @@ pub struct Indel { #[derive(Default, Debug, Clone)] pub struct TextEdit { + /// Invariant: disjoint and sorted by `delete`. indels: Vec, }