aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/text_utils.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-10-15 17:55:32 +0100
committerAleksey Kladov <[email protected]>2018-10-15 17:55:32 +0100
commit171c176833c197bfd1b266940bd2a8c3d4d52cd5 (patch)
tree34df736f3dd474cd94bd3610c8c7f2374bbab628 /crates/ra_syntax/src/text_utils.rs
parent6605dbaff3dd4104fd402cd6de7531c55d697358 (diff)
Run cargo fix
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()