diff options
author | Bernardo <[email protected]> | 2018-12-10 21:09:12 +0000 |
---|---|---|
committer | Bernardo <[email protected]> | 2018-12-10 21:09:12 +0000 |
commit | 7344d28768c43d8955bf23c183d606be08f27c64 (patch) | |
tree | f0773b4db640dac303f1f683115c780ac3eb0b9c /crates/ra_syntax/src/yellow | |
parent | f655f993fe6d9faa81b0e776b9b24308d2ea1c68 (diff) |
extract AtomEdit and Edit into new ra_text_edit crate
Diffstat (limited to 'crates/ra_syntax/src/yellow')
-rw-r--r-- | crates/ra_syntax/src/yellow/syntax_text.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/yellow/syntax_text.rs b/crates/ra_syntax/src/yellow/syntax_text.rs index 5395ca90b..46bde9a08 100644 --- a/crates/ra_syntax/src/yellow/syntax_text.rs +++ b/crates/ra_syntax/src/yellow/syntax_text.rs | |||
@@ -1,7 +1,8 @@ | |||
1 | use std::{fmt, ops}; | 1 | use std::{fmt, ops}; |
2 | 2 | ||
3 | use ra_text_edit::text_utils::contains_offset_nonstrict; | ||
3 | use crate::{ | 4 | use crate::{ |
4 | text_utils::{contains_offset_nonstrict, intersect}, | 5 | text_utils::intersect, |
5 | SyntaxNodeRef, TextRange, TextUnit, | 6 | SyntaxNodeRef, TextRange, TextUnit, |
6 | }; | 7 | }; |
7 | 8 | ||