mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-04 11:04:03 +00:00
minor: as per code-styple, add invariant comment
This commit is contained in:
parent
5664a2b0b3
commit
66960c095c
@ -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 New Issue
Block a user