use new translate_offset_with_edit for TryConvWith

doc comments
This commit is contained in:
Bernardo 2018-12-23 15:49:14 +01:00
parent aff0124b37
commit 6b2da4e547
4 changed files with 5 additions and 37 deletions

View file

@ -14,6 +14,7 @@ pub use self::{
extend_selection::extend_selection,
folding_ranges::{folding_ranges, Fold, FoldKind},
line_index::{LineCol, LineIndex},
line_index_utils::translate_offset_with_edit,
symbols::{file_structure, file_symbols, FileSymbol, StructureNode},
typing::{join_lines, on_enter, on_eq_typed},
};

View file

@ -1,6 +1,6 @@
use ra_text_edit::AtomTextEdit;
use ra_syntax::{TextUnit, TextRange};
use crate::{LineIndex, LineCol, line_index::Utf16Char, line_index};
use crate::{LineIndex, LineCol, line_index::{self, Utf16Char}};
use superslice::Ext;
#[derive(Debug, Clone)]