minor: as per code-styple, add invariant comment
This commit is contained in:
parent
5664a2b0b3
commit
66960c095c
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ pub struct Indel {
|
|||
|
||||
#[derive(Default, Debug, Clone)]
|
||||
pub struct TextEdit {
|
||||
/// Invariant: disjoint and sorted by `delete`.
|
||||
indels: Vec<Indel>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue