diff options
author | Bernardo <[email protected]> | 2018-12-21 17:51:31 +0000 |
---|---|---|
committer | Bernardo <[email protected]> | 2018-12-25 19:03:14 +0000 |
commit | d6312085a1ac97030fa768366585b9cfb6c955cd (patch) | |
tree | bdd36cd3efd76fc3a1561847ed66ccece7b75303 /crates/ra_editor/src/lib.rs | |
parent | a005d2a614031a18c9a5bf6557789a41f1b25c31 (diff) |
remove slower impl, add benchmarks
Diffstat (limited to 'crates/ra_editor/src/lib.rs')
-rw-r--r-- | crates/ra_editor/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_editor/src/lib.rs b/crates/ra_editor/src/lib.rs index 619497f0b..7145c6cfb 100644 --- a/crates/ra_editor/src/lib.rs +++ b/crates/ra_editor/src/lib.rs | |||
@@ -2,7 +2,8 @@ mod code_actions; | |||
2 | mod extend_selection; | 2 | mod extend_selection; |
3 | mod folding_ranges; | 3 | mod folding_ranges; |
4 | mod line_index; | 4 | mod line_index; |
5 | mod line_index_utils; | 5 | // public for benchmarkig |
6 | pub mod line_index_utils; | ||
6 | mod symbols; | 7 | mod symbols; |
7 | #[cfg(test)] | 8 | #[cfg(test)] |
8 | mod test_utils; | 9 | mod test_utils; |
@@ -13,7 +14,6 @@ pub use self::{ | |||
13 | extend_selection::extend_selection, | 14 | extend_selection::extend_selection, |
14 | folding_ranges::{folding_ranges, Fold, FoldKind}, | 15 | folding_ranges::{folding_ranges, Fold, FoldKind}, |
15 | line_index::{LineCol, LineIndex}, | 16 | line_index::{LineCol, LineIndex}, |
16 | line_index_utils::translate_offset_with_edit, | ||
17 | symbols::{file_structure, file_symbols, FileSymbol, StructureNode}, | 17 | symbols::{file_structure, file_symbols, FileSymbol, StructureNode}, |
18 | typing::{join_lines, on_enter, on_eq_typed}, | 18 | typing::{join_lines, on_enter, on_eq_typed}, |
19 | }; | 19 | }; |