Pub use TextRange, TextSize

This commit is contained in:
Ariel Davis 2023-05-04 16:21:29 -07:00
parent 5e2c68f4d4
commit 71c4a8968d

View File

@ -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)]