mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +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)]
|
#[derive(Default, Debug, Clone)]
|
||||||
pub struct TextEdit {
|
pub struct TextEdit {
|
||||||
|
/// Invariant: disjoint and sorted by `delete`.
|
||||||
indels: Vec<Indel>,
|
indels: Vec<Indel>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue