aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_text_edit/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_text_edit/src/lib.rs')
-rw-r--r--crates/ra_text_edit/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_text_edit/src/lib.rs b/crates/ra_text_edit/src/lib.rs
index 89600413a..8acf10448 100644
--- a/crates/ra_text_edit/src/lib.rs
+++ b/crates/ra_text_edit/src/lib.rs
@@ -6,8 +6,10 @@ pub use crate::text_edit::{TextEdit, TextEditBuilder};
6 6
7use text_unit::{TextRange, TextUnit}; 7use text_unit::{TextRange, TextUnit};
8 8
9/// Must not overlap with other `AtomTextEdit`s
9#[derive(Debug, Clone)] 10#[derive(Debug, Clone)]
10pub struct AtomTextEdit { 11pub struct AtomTextEdit {
12 /// Refers to offsets in the original text
11 pub delete: TextRange, 13 pub delete: TextRange,
12 pub insert: String, 14 pub insert: String,
13} 15}