diff options
Diffstat (limited to 'crates/ra_text_edit/src/text_utils.rs')
-rw-r--r-- | crates/ra_text_edit/src/text_utils.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/crates/ra_text_edit/src/text_utils.rs b/crates/ra_text_edit/src/text_utils.rs deleted file mode 100644 index e3b4dc4fe..000000000 --- a/crates/ra_text_edit/src/text_utils.rs +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | use text_unit::{TextRange, TextUnit}; | ||
2 | |||
3 | pub fn contains_offset_nonstrict(range: TextRange, offset: TextUnit) -> bool { | ||
4 | range.start() <= offset && offset <= range.end() | ||
5 | } | ||