aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api_light/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api_light/src')
-rw-r--r--crates/ra_ide_api_light/src/line_index.rs2
-rw-r--r--crates/ra_ide_api_light/src/line_index_utils.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide_api_light/src/line_index.rs b/crates/ra_ide_api_light/src/line_index.rs
index 898fee7e0..131737743 100644
--- a/crates/ra_ide_api_light/src/line_index.rs
+++ b/crates/ra_ide_api_light/src/line_index.rs
@@ -154,7 +154,7 @@ pub fn to_line_col(text: &str, offset: TextUnit) -> LineCol {
154#[cfg(test)] 154#[cfg(test)]
155mod test_line_index { 155mod test_line_index {
156 use super::*; 156 use super::*;
157 use proptest::{prelude::*, proptest, proptest_helper}; 157 use proptest::{prelude::*, proptest};
158 use ra_text_edit::test_utils::{arb_text, arb_offset}; 158 use ra_text_edit::test_utils::{arb_text, arb_offset};
159 159
160 #[test] 160 #[test]
diff --git a/crates/ra_ide_api_light/src/line_index_utils.rs b/crates/ra_ide_api_light/src/line_index_utils.rs
index ec3269bbb..5d9ab6fd2 100644
--- a/crates/ra_ide_api_light/src/line_index_utils.rs
+++ b/crates/ra_ide_api_light/src/line_index_utils.rs
@@ -320,7 +320,7 @@ pub fn translate_offset_with_edit(
320#[cfg(test)] 320#[cfg(test)]
321mod test { 321mod test {
322 use super::*; 322 use super::*;
323 use proptest::{prelude::*, proptest, proptest_helper}; 323 use proptest::{prelude::*, proptest};
324 use crate::line_index; 324 use crate::line_index;
325 use ra_text_edit::test_utils::{arb_offset, arb_text_with_edit}; 325 use ra_text_edit::test_utils::{arb_offset, arb_text_with_edit};
326 use ra_text_edit::TextEdit; 326 use ra_text_edit::TextEdit;