diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-10 15:32:34 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-10 15:32:34 +0000 |
commit | acd90bc33b6111b47af68d51ec668bf027afb31d (patch) | |
tree | 42e0151888d94e8f9e33d52e44771252d9e151d5 /crates/ra_ide_api_light/src/lib.rs | |
parent | 3990f93921537c4ab4db3a89b76ecfd20504d93f (diff) | |
parent | a0c978cd0ce95446f6d3e6a13047474670d9ee55 (diff) |
Merge #482
482: fix code duplication r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide_api_light/src/lib.rs')
-rw-r--r-- | crates/ra_ide_api_light/src/lib.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/crates/ra_ide_api_light/src/lib.rs b/crates/ra_ide_api_light/src/lib.rs index 40638eda8..bc9bee752 100644 --- a/crates/ra_ide_api_light/src/lib.rs +++ b/crates/ra_ide_api_light/src/lib.rs | |||
@@ -11,8 +11,10 @@ mod line_index_utils; | |||
11 | mod structure; | 11 | mod structure; |
12 | #[cfg(test)] | 12 | #[cfg(test)] |
13 | mod test_utils; | 13 | mod test_utils; |
14 | mod join_lines; | ||
14 | mod typing; | 15 | mod typing; |
15 | mod diagnostics; | 16 | mod diagnostics; |
17 | pub(crate) mod formatting; | ||
16 | 18 | ||
17 | pub use self::{ | 19 | pub use self::{ |
18 | assists::LocalEdit, | 20 | assists::LocalEdit, |
@@ -21,8 +23,10 @@ pub use self::{ | |||
21 | line_index::{LineCol, LineIndex}, | 23 | line_index::{LineCol, LineIndex}, |
22 | line_index_utils::translate_offset_with_edit, | 24 | line_index_utils::translate_offset_with_edit, |
23 | structure::{file_structure, StructureNode}, | 25 | structure::{file_structure, StructureNode}, |
24 | typing::{join_lines, on_enter, on_dot_typed, on_eq_typed}, | 26 | diagnostics::diagnostics, |
25 | diagnostics::diagnostics | 27 | join_lines::join_lines, |
28 | typing::{on_enter, on_dot_typed, on_eq_typed}, | ||
29 | |||
26 | }; | 30 | }; |
27 | use ra_text_edit::TextEditBuilder; | 31 | use ra_text_edit::TextEditBuilder; |
28 | use ra_syntax::{ | 32 | use ra_syntax::{ |