diff options
author | Aleksey Kladov <[email protected]> | 2018-12-06 18:16:37 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-12-06 18:16:37 +0000 |
commit | 28ddecf6c99ef23bc96b9eb7bc8ee049f1732e76 (patch) | |
tree | 7912f80008f47e240be2ed8c88f923824409f396 /crates/ra_editor/src/test_utils.rs | |
parent | f6e8b376d1d21b8b697de5ef1e35a341855202ed (diff) |
modernize even more
Diffstat (limited to 'crates/ra_editor/src/test_utils.rs')
-rw-r--r-- | crates/ra_editor/src/test_utils.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/ra_editor/src/test_utils.rs b/crates/ra_editor/src/test_utils.rs index cbeb6433b..f0a4f250a 100644 --- a/crates/ra_editor/src/test_utils.rs +++ b/crates/ra_editor/src/test_utils.rs | |||
@@ -1,7 +1,8 @@ | |||
1 | use crate::LocalEdit; | ||
2 | pub use crate::_test_utils::*; | ||
3 | use ra_syntax::{SourceFileNode, TextRange, TextUnit}; | 1 | use ra_syntax::{SourceFileNode, TextRange, TextUnit}; |
4 | 2 | ||
3 | use crate::LocalEdit; | ||
4 | pub use test_utils::*; | ||
5 | |||
5 | pub fn check_action<F: Fn(&SourceFileNode, TextUnit) -> Option<LocalEdit>>( | 6 | pub fn check_action<F: Fn(&SourceFileNode, TextUnit) -> Option<LocalEdit>>( |
6 | before: &str, | 7 | before: &str, |
7 | after: &str, | 8 | after: &str, |