aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/text_utils.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src/text_utils.rs')
-rw-r--r--crates/ra_syntax/src/text_utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/text_utils.rs b/crates/ra_syntax/src/text_utils.rs
index 58ae1e43e..adf26ef30 100644
--- a/crates/ra_syntax/src/text_utils.rs
+++ b/crates/ra_syntax/src/text_utils.rs
@@ -1,4 +1,4 @@
1use {TextRange, TextUnit}; 1use crate::{TextRange, TextUnit};
2 2
3pub fn contains_offset_nonstrict(range: TextRange, offset: TextUnit) -> bool { 3pub fn contains_offset_nonstrict(range: TextRange, offset: TextUnit) -> bool {
4 range.start() <= offset && offset <= range.end() 4 range.start() <= offset && offset <= range.end()