minor: as per code-styple, add invariant comment
This commit is contained in:
@@ -17,6 +17,7 @@ pub struct Indel {
|
|||||||
|
|
||||||
#[derive(Default, Debug, Clone)]
|
#[derive(Default, Debug, Clone)]
|
||||||
pub struct TextEdit {
|
pub struct TextEdit {
|
||||||
|
/// Invariant: disjoint and sorted by `delete`.
|
||||||
indels: Vec<Indel>,
|
indels: Vec<Indel>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user