We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b26cded commit 39ef368Copy full SHA for 39ef368
lib/line-index/src/lib.rs
@@ -14,9 +14,9 @@ use text_size::{TextRange, TextSize};
14
#[derive(Clone, Debug, PartialEq, Eq)]
15
pub struct LineIndex {
16
/// Offset the beginning of each line, zero-based.
17
- pub(crate) newlines: Vec<TextSize>,
+ newlines: Vec<TextSize>,
18
/// List of non-ASCII characters on each line.
19
- pub(crate) line_wide_chars: NoHashHashMap<u32, Vec<WideChar>>,
+ line_wide_chars: NoHashHashMap<u32, Vec<WideChar>>,
20
}
21
22
/// Line/Column information in native, utf8 format.
@@ -49,11 +49,11 @@ pub struct WideLineCol {
49
50
51
#[derive(Clone, Debug, Hash, PartialEq, Eq)]
52
-pub(crate) struct WideChar {
+struct WideChar {
53
/// Start offset of a character inside a line, zero-based
54
- pub(crate) start: TextSize,
+ start: TextSize,
55
/// End offset of a character inside a line, zero-based
56
- pub(crate) end: TextSize,
+ end: TextSize,
57
58
59
impl WideChar {
0 commit comments