about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAriel Davis <ariel.z.davis@icloud.com>2023-05-04 16:21:29 -0700
committerAriel Davis <ariel.z.davis@icloud.com>2023-05-06 00:49:23 -0700
commit71c4a8968d4b7bb08c81f23d04ea4115ee846580 (patch)
treeaeaa4e503d28a6a0b68205bb700e74d2156122b6
parent5e2c68f4d400984234b157b10b361470273b57c3 (diff)
downloadrust-71c4a8968d4b7bb08c81f23d04ea4115ee846580.tar.gz
rust-71c4a8968d4b7bb08c81f23d04ea4115ee846580.zip
Pub use TextRange, TextSize
-rw-r--r--lib/line-index/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/line-index/src/lib.rs b/lib/line-index/src/lib.rs
index 9ce30102319..73aea0ea3c1 100644
--- a/lib/line-index/src/lib.rs
+++ b/lib/line-index/src/lib.rs
@@ -6,7 +6,8 @@
 mod tests;
 
 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.
 #[derive(Clone, Debug, PartialEq, Eq)]