Skip to content

Commit 7008161

Browse files
bors[bot]matklad
andauthored
Merge #9820
9820: minor: as per code-styple, add invariant comment r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
2 parents 5664a2b + 66960c0 commit 7008161

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/text_edit/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub struct Indel {
1717

1818
#[derive(Default, Debug, Clone)]
1919
pub struct TextEdit {
20+
/// Invariant: disjoint and sorted by `delete`.
2021
indels: Vec<Indel>,
2122
}
2223

0 commit comments

Comments
 (0)