mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 09:27:27 +00:00
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