minor: as per code-styple, add invariant comment

This commit is contained in:
Aleksey Kladov 2021-08-09 13:13:02 +03:00
parent 5664a2b0b3
commit 66960c095c

View file

@ -17,6 +17,7 @@ pub struct Indel {
#[derive(Default, Debug, Clone)]
pub struct TextEdit {
/// Invariant: disjoint and sorted by `delete`.
indels: Vec<Indel>,
}