aboutsummaryrefslogtreecommitdiff
path: root/crates/test_utils/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/test_utils/src')
-rw-r--r--crates/test_utils/src/lib.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/crates/test_utils/src/lib.rs b/crates/test_utils/src/lib.rs
index 12ae5f451..0c367ce71 100644
--- a/crates/test_utils/src/lib.rs
+++ b/crates/test_utils/src/lib.rs
@@ -16,10 +16,10 @@ use std::{
16 16
17pub use ra_cfg::CfgOptions; 17pub use ra_cfg::CfgOptions;
18 18
19use serde_json::Value;
20use text_size::{TextRange, TextSize};
21pub use relative_path::{RelativePath, RelativePathBuf}; 19pub use relative_path::{RelativePath, RelativePathBuf};
22pub use rustc_hash::FxHashMap; 20pub use rustc_hash::FxHashMap;
21use serde_json::Value;
22use text_size::{TextRange, TextSize};
23 23
24pub use difference::Changeset as __Changeset; 24pub use difference::Changeset as __Changeset;
25 25
@@ -292,7 +292,6 @@ fn split1(haystack: &str, delim: char) -> Option<(&str, &str)> {
292 Some((&haystack[..idx], &haystack[idx + delim.len_utf8()..])) 292 Some((&haystack[..idx], &haystack[idx + delim.len_utf8()..]))
293} 293}
294 294
295
296/// Adjusts the indentation of the first line to the minimum indentation of the rest of the lines. 295/// Adjusts the indentation of the first line to the minimum indentation of the rest of the lines.
297/// This allows fixtures to start off in a different indentation, e.g. to align the first line with 296/// This allows fixtures to start off in a different indentation, e.g. to align the first line with
298/// the other lines visually: 297/// the other lines visually: