diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-06 18:17:09 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-06 18:17:09 +0000 |
commit | 8e60e751cbcfa47c7bed788dfe2ab5cebfcb78b3 (patch) | |
tree | 58f01a945f7c27d6baaecf38e84617ca46782073 /crates/ra_editor/src/lib.rs | |
parent | 5ad84f0ca5fe9bb250cd4026e5dcb5478d932666 (diff) | |
parent | 28ddecf6c99ef23bc96b9eb7bc8ee049f1732e76 (diff) |
Merge #260
260: Modernize r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_editor/src/lib.rs')
-rw-r--r-- | crates/ra_editor/src/lib.rs | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/crates/ra_editor/src/lib.rs b/crates/ra_editor/src/lib.rs index c6b116159..ce080ee97 100644 --- a/crates/ra_editor/src/lib.rs +++ b/crates/ra_editor/src/lib.rs | |||
@@ -1,12 +1,3 @@ | |||
1 | extern crate itertools; | ||
2 | extern crate join_to_string; | ||
3 | extern crate ra_syntax; | ||
4 | extern crate rustc_hash; | ||
5 | extern crate superslice; | ||
6 | #[cfg(test)] | ||
7 | #[macro_use] | ||
8 | extern crate test_utils as _test_utils; | ||
9 | |||
10 | mod code_actions; | 1 | mod code_actions; |
11 | mod edit; | 2 | mod edit; |
12 | mod extend_selection; | 3 | mod extend_selection; |
@@ -154,7 +145,7 @@ pub fn find_node_at_offset<'a, N: AstNode<'a>>( | |||
154 | #[cfg(test)] | 145 | #[cfg(test)] |
155 | mod tests { | 146 | mod tests { |
156 | use super::*; | 147 | use super::*; |
157 | use crate::test_utils::{add_cursor, assert_eq_dbg, extract_offset}; | 148 | use crate::test_utils::{add_cursor, assert_eq_dbg, extract_offset, assert_eq_text}; |
158 | 149 | ||
159 | #[test] | 150 | #[test] |
160 | fn test_highlighting() { | 151 | fn test_highlighting() { |