mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
use new translate_offset_with_edit for TryConvWith
doc comments
This commit is contained in:
parent
aff0124b37
commit
6b2da4e547
4 changed files with 5 additions and 37 deletions
|
@ -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},
|
||||
};
|
||||
|
|
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue