mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 14:13:58 +00:00
Pub use TextRange, TextSize
This commit is contained in:
parent
5e2c68f4d4
commit
71c4a8968d
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,8 @@
|
||||||
mod tests;
|
mod tests;
|
||||||
|
|
||||||
use nohash_hasher::IntMap as NoHashHashMap;
|
use nohash_hasher::IntMap as NoHashHashMap;
|
||||||
use text_size::{TextRange, TextSize};
|
|
||||||
|
pub use text_size::{TextRange, TextSize};
|
||||||
|
|
||||||
/// Maps flat [`TextSize`] offsets into `(line, column)` representation.
|
/// Maps flat [`TextSize`] offsets into `(line, column)` representation.
|
||||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||||
|
|
Loading…
Reference in a new issue