diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-08 19:03:35 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-08 19:03:35 +0000 |
commit | 4f4f7933b1b7ff34f8633b1686b18b2d1b994c47 (patch) | |
tree | a390d74ee5272a4a0070f5d4ea5281a04d4ba56a /crates/ra_text_edit/src/text_utils.rs | |
parent | c9e42fcf245be16958dca6571e4bccc6c29199df (diff) | |
parent | 921689b70da39160dd381e9716472827e36b03b8 (diff) |
Merge #469
469: kill text utils r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
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 | } | ||